|
@@ -241,6 +241,7 @@ def write_toc(data):
|
|
|
fd.write('%s</ul></li>\n' % (' ' * indent))
|
|
|
in_h3 = False
|
|
|
|
|
|
+ text = text.replace(u'\xa0', u' ')
|
|
|
fd.write('%s<li class="toc"><a href="#%s" class="toc">%s</a>' % \
|
|
|
(' ' * indent, escape_href(text), text))
|
|
|
first = False
|