<div dir="ltr">I&#39;m talking about the latter: inserting comments that only exist in the template and make no appearance in the generated HTML at all.<div><br></div><div>The reason to avoid the double dash is that it adds a brand new &quot;special string&quot; to Hamlet. Frankly, I don&#39;t think a double dash is so uncommon-- it&#39;s often times used instead of an mdash, so I&#39;d be very wary of doing this.</div>
<div><br></div><div>Michael<br><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 6:47 PM, Tim Matthews <span dir="ltr">&lt;<a href="mailto:tim.matthews7@gmail.com">tim.matthews7@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Are you meaning add an extra syntax to conveniently output &quot;&lt;!-- comment --&gt;&quot; or a comment that only exists in the hamlet template and not within the generated html output?<br><br>The former seems less useful, on the rare occasion &quot;&lt;!-- comment --&gt;&quot; is required I will type it directly. This would seem like a waste of syntax if it didn&#39;t get used enough.<br>

<br>For the latter though why can&#39;t you make regular double dash &#39;--&#39; as the comment to maintain consistency for when the hamlet is written quasi quoted within haskell source? (Currently it ends up in the generated html).<br>

<br>Thanks<br><br>Tim M<br><br><br>
<br>_______________________________________________<br>
web-devel mailing list<br>
<a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
<br></blockquote></div><br></div></div>