diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-01 19:05:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-01 19:05:37 +0000 |
commit | 70410dfcfd38b668debf911095b28861d93134f1 (patch) | |
tree | 33d8c726de9e8afae8308bd07e389623156bfed1 /mandoc.c | |
parent | 8aa141e07f78054e526f8f85ec8f12e47a40fbb9 (diff) | |
download | mandoc-70410dfcfd38b668debf911095b28861d93134f1.tar.gz |
Minimal implementation of the \h (horizontal motion) escape sequence.
Good enough to cope with the average DocBook insanity.
Diffstat (limited to 'mandoc.c')
-rw-r--r-- | mandoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -175,7 +175,7 @@ mandoc_escape(const char **end, const char **start, int *sz) ++*end; return ESCAPE_ERROR; } - gly = ESCAPE_IGNORE; + gly = (*start)[-1] == 'h' ? ESCAPE_HORIZ : ESCAPE_IGNORE; term = **start; *start = ++*end; break; |