* mdocml: Fix handling of the `\c' escape in -T[x]html.
@ 2011-07-07 14:34 kristaps
0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-07-07 14:34 UTC (permalink / raw)
To: source
Log Message:
-----------
Fix handling of the `\c' escape in -T[x]html.
Modified Files:
--------------
mdocml:
html.c
Revision Data
-------------
Index: html.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/html.c,v
retrieving revision 1.148
retrieving revision 1.149
diff -Lhtml.c -Lhtml.c -u -p -r1.148 -r1.149
--- html.c
+++ html.c
@@ -513,9 +513,11 @@ print_text(struct html *h, const char *w
print_otag(h, TAG_I, 0, NULL);
assert(word);
- if ( ! print_encode(h, word, 0))
+ if ( ! print_encode(h, word, 0)) {
if ( ! (h->flags & HTML_NONOSPACE))
h->flags &= ~HTML_NOSPACE;
+ } else
+ h->flags |= HTML_NOSPACE;
if (h->metaf) {
print_tagq(h, h->metaf);
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-07 14:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-07 14:34 mdocml: Fix handling of the `\c' escape in -T[x]html kristaps
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).