From: Laurent MAZET Date: Fri, 16 Oct 2026 08:50:23 +0000 (+0200) Subject: special case for ' X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;ds=inline;p=html2txt.git special case for ' --- diff --git a/html2txt.c b/html2txt.c index 614ed04..4a7bf7d 100644 --- a/html2txt.c +++ b/html2txt.c @@ -145,6 +145,8 @@ int main (int argc, char *argv[]) glyph = out; pt++; } + /* special for #39 */ + if (out[0] == 0x39) out[0] = '\''; } else { pt += check_html_element (pt + 1, &glyph); }