Thanks All.

I guess the <%# version is what I really need. I have a rather long dryml page with many different list sections and I need to be able to visually separate them in the code; I don't need the separation in the html -- I kept missing the section I needed to change and then had to *wait over 5 minutes *for the page to render (in development mode). I dropped back to a single <!-- this is my comment --> line separated from the rest of the code by blank lines to give my eyes a rest.

Don Z.

P.S. I have no idea where the repeat of my original post came from. It showed up well after all the responses.

On 9/13/2011 11:03 AM, Bryan Larsen wrote:
DRYML has to be valid XML, which is stricter than HTML.   If I
remember correctly, you need an even number of dashes in XML.

I generally prefer the<%# ... %>  comment form, and only use<!-- ...
-->  when I want the comments to be visible in the generated HTML.

Bryan


On Tue, Sep 13, 2011 at 10:57 AM, Donald R. Ziesig<[email protected]>  wrote:
  <!------------------------>
<!-- This is my comment -->
<!------------------------>

The parser fails and reports the following unconsumed characters:

<!-- This is my comment -->  <!------------------------>

I have used comments like this in .html.erb in RoR, but I think this is the
first time I tried it in a .dryml file.

Comments anyone?

Don Z.

--
You received this message because you are subscribed to the Google Groups
"Hobo Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.



--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to