diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-01-19 11:53:00 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-01-19 11:53:00 -0800 |
commit | adaae082fc27e1d7897edfbb32412b25456e3c05 (patch) | |
tree | b7141b2c19d1f9393a6f8cb2a1ba29447d84c864 /stats.sh | |
parent | 9a739e30bfb979bf94084ada114ca80a0f793b6c (diff) | |
download | pandoc-adaae082fc27e1d7897edfbb32412b25456e3c05.tar.gz |
Fixed problem with inline code in ConTeXt writer.
Previously `}` would be rendered '\type{}}'.
Now we check the string for '}' and '{'. If it contains neither,
use \type{}; otherwise use \mono{} with an escaped version of the
string.
Note: There are some issues using the \type!str! form, including
differences btw mkii and mkiv. For now this is a conservative fix.
Perhaps in the future we can use \type!str!. See the discussion on
pandoc-discuss s.v. "Bug in context writer".
Diffstat (limited to 'stats.sh')
0 files changed, 0 insertions, 0 deletions