From 38072c5810d42c3945481438b6897d0391c15342 Mon Sep 17 00:00:00 2001 From: Laurent MAZET Date: Fri, 16 Oct 2026 10:50:23 +0200 Subject: [PATCH] special case for ' --- html2txt.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.30.2