Skip to content

Commit 0dba83d

Browse files
committed
import latest postprocess.py from numpy
1 parent c09b9fd commit 0dba83d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/postprocess.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def process_tex(lines):
4444
"""
4545
new_lines = []
4646
for line in lines:
47+
line = unicode(line, 'utf-8').replace(u"\00a0", u"~").encode('utf-8')
4748
if (line.startswith(r'\section{numpy.')
4849
or line.startswith(r'\subsection{numpy.')
4950
or line.startswith(r'\subsubsection{numpy.')

0 commit comments

Comments
 (0)