nette/nette — pull request #1400 by JanTvrdik (2014-02-12 17:57:11+00:00)
Title: Latte: improved HTML comments escaping and tokenization

This solves problem described in https://github.com/nette/nette/commit/bb466dc37680172addc6419d0f76adf031def2ff#commitcomment-5235831 and aligns the HTML comments processing in general to the [HTML specification](http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html).

Note: `` is invalid comment and causes parse error but switch state back to data state.