aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-14 18:11:04 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-02-14 18:11:04 -0800
commitd8988786280c24ca7f76b389c982a77e5fbb7f54 (patch)
tree80359428507786cfec0a32e1a15e3c23513d54bc /tools
parentb7b85536c20a4f57030a54f7ca44764e85082b35 (diff)
Use --smart option in producing spec.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/makespec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/makespec.py b/tools/makespec.py
index ec2296d..b2b8ab2 100755
--- a/tools/makespec.py
+++ b/tools/makespec.py
@@ -126,7 +126,7 @@ elif specformat == "html":
toclines.append(indent + '* [' + section['number'] + ' ' +
section['contents'] + '](#' + section['ident'] + ')')
toc = '<div id="TOC">\n\n' + '\n'.join(toclines) + '\n\n</div>\n\n'
- prog = "cmark"
+ prog = "cmark --smart"
[retcode, result, err] = pipe_through_prog(prog, toc + mdtext)
if retcode == 0:
result = re.sub(r'␣', '<span class="space"> </span>', result)