Priority: Low
Current State: Closed
Released In: 2.0.0
Target Release: major
Problem demonstration
When in the text is commented out a block of text like this (followed text is HTML-commented out):
the commented heading in the TOC still shown, but (ofc) not in the rendered page. The way what I found is mark the text inside the comments as verbatim.
<-- <verbatim>
---++ heading
text
</verbatim> -->
Not very nice solution...
Imo, here should be some MACRO comment syntax, like what we have in the templates.
%{ comment %}
Anything enclosed inside %{ content }% should be completly ignored in the rendering...
s/%\{.*?\}%//gm;
--
JozefMojzis - 13 Dec 2011