]> git.wh0rd.org - fontconfig.git/blobdiff - doc/edit-sgml.c
Add space between type and formal in devel man pages (bug 8935)
[fontconfig.git] / doc / edit-sgml.c
index 77cc807c1d0f16791212de7d384b7a2c0d6431f2..3f3be53aaafd64a6e8e1d5bfb26781414ba67a8f 100644 (file)
@@ -294,6 +294,11 @@ ReplaceRead (FILE *f)
        ungetc (c, f);
     while (isspace (StringLast (r->text)))
        StringDel (r->text);
+    if (StringLast(r->text) == '%')
+    {
+       StringDel (r->text);
+       StringAdd (r->text, ' ');
+    }
     return r;
 }