Title: HTML Comment Structure is invalid
Last modified: August 21, 2016

---

# HTML Comment Structure is invalid

 *  [Kristan](https://wordpress.org/support/users/kristansartor/)
 * (@kristansartor)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/html-comment-structure-is-invalid/)
 * Just wanted to point out that anyone using this plugin (or the Pro version) is
   getting validation errors on their site because of the way the HTML comment is
   structured:
 * `echo "<!--==-- End Typecase Font Declarations --==-->\n\n";`
 * The invalid error is “Consecutive hyphens did not terminate a comment. — is not
   permitted inside a comment, but e.g. – – is.”
 * Removing the extra characters (==– and –==) fixes this issue.
 * [http://wordpress.org/plugins/typecase/](http://wordpress.org/plugins/typecase/)

The topic ‘HTML Comment Structure is invalid’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/typecase_e6cbb5.svg)
 * [Typecase Web Fonts](https://wordpress.org/plugins/typecase/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/typecase/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/typecase/)
 * [Active Topics](https://wordpress.org/support/plugin/typecase/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/typecase/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/typecase/reviews/)

## Tags

 * [html5](https://wordpress.org/support/topic-tag/html5/)

 * 0 replies
 * 1 participant
 * Last reply from: [Kristan](https://wordpress.org/support/users/kristansartor/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/html-comment-structure-is-invalid/)
 * Status: not resolved