literal '&' on TALES python expressions attributes need to be escaped

To appease Chameleon
parent e726a193
...@@ -244,7 +244,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -244,7 +244,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
tal:attributes="id python:axis.name + \'_depth\'">\n tal:attributes="id python:axis.name + \'_depth\'">\n
<a tal:repeat="unfold_level python:range(0,4)"\n <a tal:repeat="unfold_level python:range(0,4)"\n
tal:attributes="href python:\'%s?selection_index=&amp;selection_name=%s&amp;ignore_layout:int=0&amp;report_depth:int=%s\' % (url,selection_name,unfold_level)"\n tal:attributes="href python:\'%s?selection_index=&amp;selection_name=%s&amp;ignore_layout:int=0&amp;report_depth:int=%s\' % (url,selection_name,unfold_level)"\n
tal:content="structure python:str(unfold_level) + \'&nbsp;\'">\n tal:content="structure python:str(unfold_level) + \'&amp;\'\'nbsp;\'">\n
0\n 0\n
</a>\n </a>\n
</div>\n </div>\n
...@@ -341,8 +341,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -341,8 +341,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
<!--/div-->\n <!--/div-->\n
</div>\n </div>\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>
]]></unicode> </value> ]]></unicode> </value>
</item> </item>
......
1075 1076
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment