Commits

Georg Brandl committed c2ef287

Properly escape ``|`` in LaTeX output.

Comments (0)

Files changed (2)

 Release 0.5.2 (in development)
 ==============================
 
+* Properly escape ``|`` in LaTeX output.
+
 * #71: If a decoding error occurs in source files, print a
   warning and replace the characters by "?".
 

sphinx/util/texescape.py

     (u'─', ur'-'),
     (u'⎽', ur'\_'),
     (u'╲', ur'\textbackslash{}'),
-    (u'│', ur'|'),
+    (u'|', ur'\textbar{}'),
+    (u'│', ur'\textbar{}'),
     (u'ℯ', ur'e'),
     (u'ⅈ', ur'i'),
     (u'₁', ur'1'),