Closed pwithnall closed 6 years ago
Don't escape the right paren. I changed the parser to track non-markup parens in inlines, because you said so. :)
https://github.com/projectmallard/mallard-ducktype/issues/1 http://projectmallard.org/pipermail/mallard-list/2015-February/000205.html
Fixed in D-Bus then: https://bugs.freedesktop.org/show_bug.cgi?id=104925. Thanks!
If I have some Ducktype:
the following Mallard gets produced:
Note that the
<var>
element doesn’t get closed after$(datadir)
, there’s a spurious)
after$(datadir)
, and the<code>
element doesn’t get closed either.You can see a rendered example here.
To be clear, the
$(datadir)
is supposed to be literal; I think the escaping on it is right, but I’m not 100% sure.