• Resolved qwertius

    (@qwertius)


    Hi, I think I found a bug in validator. Steps to reproduce

    1. Create snippet of type “HTML”
    2. insert just this:<div class="my"></div>
    3. save the snippet
    4. go to the list of snippets
    5. try to activate the snippet using the UI switch
    6. should result with exclamation mark and console.log “Could not activate snippet: code did not pass validation.”

    Although this code can’t be activated by UI switch in the list, no problems when using [Save changes and activate] button

    Hint: this code validates OK:

    <?php ?>
    <div class="my"></div>

    This code doesn’t validate:

    <div class="my"></div>
    <?php ?>

    It appears that the validator thinks the code talks about PHP class instead of HTML tag property class.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Verdi Heinz

    (@ver3)

    Hi @qwertius ,

    Apologies, your message slipped through the cracks! If you’re still experiencing issues, please let us know, we’d love to help. For now, I’ll mark this as resolved, but feel free to reopen the conversation anytime.

    Just to be sure, I’ve also passed this on to our Devs in case there might be a bug.

    Plugin Author Atif Riaz

    (@lightbulbman)

    Hi @qwertius

    Thank you for raising this issue and apologies that you are facing a problem.

    I can update you that it has been added to our dev board as a potential bug that needs investigation and fix, and we will be investigating it. We’ll work on resolving it in due course, and always do prioritise bug fixes alongside new features and will hope to get this resolved by the next update. Please bear with us and we appreciate your patience.

    You can keep track of this and updates from the issue created on Github:

    https://github.com/codesnippetspro/code-snippets/issues/228

    Many thanks for your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.