Skip to content

Commit 2850043

Browse files
committed
makedoc.py: pass unicode string mintune markdown function
1 parent 963ea3f commit 2850043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

schema_salad/makedoc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,9 @@ def extendsfrom(item, ex):
331331

332332
_, frg = urllib.parse.urldefrag(f["name"])
333333
num = self.toc.add_entry(depth, frg)
334-
doc = "%s %s %s\n" % (("#" * depth), num, frg)
334+
doc = u"%s %s %s\n" % (("#" * depth), num, frg)
335335
else:
336-
doc = ""
336+
doc = u""
337337

338338
if self.title is None and f["doc"]:
339339
title = f["doc"][0:f["doc"].index("\n")]

0 commit comments

Comments
 (0)