Snippet doesn’t validate with HTML ‘class’ property
-
Hi, I think I found a bug in validator. Steps to reproduce
- Create snippet of type “HTML”
- insert just this:
<div class="my"></div>
- save the snippet
- go to the list of snippets
- try to activate the snippet using the UI switch
- 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)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.