* Fixed a comment within a ... comment
!! test
Comment semantics and delimiters: directors cut
!! input
-<!-- ... However we're purely an XML shop you see, so we eat everything
-starting with < followed by !-- until the first -- and > we see, observe: -->-->
+<!-- ... However we like to keep things simple and somewhat XML-ish so we eat
+everything starting with < followed by !-- until the first -- and > we see,
+that wouldn't be valid XML however, since in XML -- has to terminate a comment
+-->-->
!! result
-<p>-->
+<p>-->
</p>
!! end
!! input
<!--<!-- no, we're not going to do anything fancy here -->-->
!! result
-<p>-->
+<p>-->
</p>
!! end