BUGFIX: exception validating 'data-' attributes

Fixed the exception when validating 'data-' attributes such as 'data-lightbox="group"' that might come from a blog post import.

https://meta.discourse.org/t/trouble-embedding-discourse-as-a-comment-engine-using-github-pages-and-digitalocean/17520