ref: 57c8dea5ec7a56ef5ae4e6e816fd40a3e6f23c79
parent: 16007659f43fecc96227111f6c6be0b75ee9621a
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Jun 5 18:24:32 EDT 2025
htmlroff: sometimes a quote is just a quote This &[lr]squo; replacement breaks copy-paste out of html. While there's potential to be more clever about it, doing the replacement based on font or contest, just not doing it at all is fine too.
--- a/sys/src/cmd/htmlroff/roff.c
+++ b/sys/src/cmd/htmlroff/roff.c
@@ -689,12 +689,6 @@
case Uminus:
r = '-';
break;
- case '\'':
- Bprint(&bout, "’");
- return;
- case '`':
- Bprint(&bout, "‘");
- return;
case Uamp:
Bputrune(&bout, '&');
return;
--
⑨