forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin (JIRA)" <>
Subject [jira] Commented: (FOR-834) GenericMarkup strips comments
Date Wed, 29 Mar 2006 11:59:26 GMT
    [ ] 

Gavin commented on FOR-834:

Possibly related, comments in pelt.fv are causing whitespace in the resultant output. 
In  this case though I think the comments are intended for dev use and are not to be converted
or included in the output as comments or otherwise. The whitespace in place of the comments
in the resultant markup are an annoyance more than anything.

e.g. -

<forrest:property name="branding-css-links-input">
        <css url="common.css" media="screen" rel="alternate stylesheet" 
        <css url="leather-dev.css" media="screen" rel="alternate stylesheet"

        <css url="pelt.screen.css" media="screen" theme="Pelt"/>
        <!-- You can request request specific css, but beware that you need
to use the *.dispatcher.css extension!!!-->
        <!-- FIXME: that is not working ATM in forrest for subdir/bla needs
more testing -->
        <!--<css url="#{$getRequest}.dispatcher.css" media="screen"
        <css url="pelt.print.css" media="print"/>

Converts to :-

<link href="themes/common.css" media="screen" rel="alternate stylesheet"
title="common" type="text/css" />
        <link href="themes/leather-dev.css" media="screen" rel="alternate
stylesheet" title="common" type="text/css" />
        <link href="themes/pelt.screen.css" media="screen" rel="stylesheet"
title="Pelt" type="text/css" />
        <link href="themes/pelt.print.css" media="print" rel="stylesheet"
title="pelt.print.css" type="text/css" />

> GenericMarkup strips comments
> -----------------------------
>          Key: FOR-834
>          URL:
>      Project: Forrest
>         Type: Bug
>   Components: Dispatcher (aka views)
>     Versions: 0.8-dev
>     Reporter: paul bolger
>     Priority: Minor

> Comments added to the markup in GenericMarkup are not passed to the output. This has
implications for using server side includes within a Forrest site.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message