Soft'N'Design Software
/
projects
/
html2txt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
657bc36
)
special case for '
master
author
Laurent MAZET
<laurent.mazet@thalesgroup.com>
Fri, 16 Oct 2026 08:50:23 +0000
(10:50 +0200)
committer
Laurent MAZET
<laurent.mazet@thalesgroup.com>
Fri, 16 Oct 2026 08:50:23 +0000
(10:50 +0200)
html2txt.c
patch
|
blob
|
blame
|
history
diff --git
a/html2txt.c
b/html2txt.c
index 614ed045e7b891dd51419b5bf95bb265ddff6469..4a7bf7d5efb8c15a4bc31d59ffb10ba0521be910 100644
(file)
--- 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);
}