Commit 7292f530 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update views/lists/index.tex to add a missing replacement for &

parent bf2eea17
......@@ -57,20 +57,22 @@
s = s.replace('<i>', '\emph{').replace('</i>', '}')
s = s.replace('<u>', '\\underline{').replace('</u>', '}')
s = s.replace("<span style='font-style: italic;'>", '\\textit{')
s = s.replace("<span style='font-weight: bold;'>", '\\textbf{')
s = s.replace("<span style='text-decoration: underline;'>", '\\underline{')
s = s.replace('&', '\&')
s = s.replace('<span style="font-style: italic;">', '\\textit{')
s = s.replace('<span style="font-weight: bold;">', '\\textbf{')
s = s.replace('<span style="text-decoration: underline;">', '\\underline{')
s = s.replace("<span style='font-style: italic;'>", '\\textit{')
s = s.replace("<span style='font-weight: bold;'>", '\\textbf{')
s = s.replace("<span style='text-decoration: underline;'>", '\\underline{')
s = s.replace('</span>', '}')
s = textwrap.fill("\\item %s" % s, initial_indent=' '*4, subsequent_indent=' '*4)
response.write("\n%s" % s, escape=False)
s = s.replace('<span style="font-style: italic;">', '\\textit{')
s = s.replace('<span style="font-weight: bold;">', '\\textbf{')
s = s.replace('<span style="text-decoration: underline;">', '\\underline{')
s = s.replace('</span>', '}')
s = textwrap.fill("\\item %s" % s, initial_indent=' '*4, subsequent_indent=' '*4)
response.write("\n%s" % s, escape=False)
pass
response.write("\n \\end{enumerate}", escape=False)
pass
}}
\end{document}
{{include}}
\ No newline at end of file
{{include}}
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