[Neos] [NEOS] About comments on html template

Jean Claude jccosse at gmail.com
Thu Jun 11 19:27:32 CEST 2015


hello,

if I insert 'comment'  <!-- xxxxxx  --> in a template html page,
the comments are in the source page, but, if there is code as for example :

<!--
		<div id="directMenu">
			<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
				{directMenu -> f:format.raw()}
			</div>
		</div>
-->

in this case,  the {directMenu -> f:format.raw()}
is displayed entirely in the source code of the page,

but of course it is not displayed simultaneously with the page.
if there is an error in the code, the page is not displayed ..

is there a way to ignore all the codes that are in the comments ?
Ok, I know, the first solution is not to put them !..  :)

thank you
jean-claude


More information about the Neos mailing list