On 03/12/2014 17:38, Jonathan Swartz wrote:

On Dec 3, 2014, at 6:19 AM, Guido Brugnara <g...@leader.it <mailto:g...@leader.it>> wrote:

On 03/12/2014 13:07, Jozef Mojzis wrote:
Need generate an output from an Mason component where the lines should
start with the '%' character.



If "\%" is acceptable in your case:

<pre>
\%there lines start
% for my $x (1..3) {
\% this is <% $x %>
% }
\%there lines end
</pre>
<%filter>
  s/^\\%/%/
</%filter>


There is also the <%text> section:

https://metacpan.org/pod/distribution/HTML-Mason/lib/HTML/Mason/Devel.pod#text


Another variant:
<%#%>%etc.etc.

Ignored by HTML browser:
&#8203;%etc.etc
</>%etc.etc.
<!-->%etc.etc.

bye
gdo


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to