Commit 3ada0969 authored by Ivan Tyagov's avatar Ivan Tyagov

HTML dom ID can not contain '.' as it will fool any javascript library (inc. jQuery).

parent d1e176a3
......@@ -58,7 +58,7 @@
</a>\n
\n
<tal:block tal:condition="show_collapse"\n
tal:define="section_dom_id python: section[\'url\'].replace(\'http://\', \'\').replace(\'/\', \'_\').replace(\':\', \'_\');\n
tal:define="section_dom_id python: section[\'url\'].replace(\'http://\', \'\').replace(\'/\', \'_\').replace(\':\', \'_\').replace(\'.\', \'_\');\n
image_dom_id string:image_${section_dom_id};">\n
\n
<img src="images/tree_closed.png" \n
......
1844
\ No newline at end of file
1845
\ 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