X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=doc%2Fedit-sgml.c;h=3f3be53aaafd64a6e8e1d5bfb26781414ba67a8f;hb=61895ed16c0c06e4d6b2abeb8ff292d53b4ea499;hp=77cc807c1d0f16791212de7d384b7a2c0d6431f2;hpb=b1aa20098f641a16d02e70a161450e6b85afe410;p=fontconfig.git diff --git a/doc/edit-sgml.c b/doc/edit-sgml.c index 77cc807..3f3be53 100644 --- a/doc/edit-sgml.c +++ b/doc/edit-sgml.c @@ -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; }