2022-09-15 15:15:46 +02:00
|
|
|
boo#1203091
|
|
|
|
|
|
|
|
---
|
|
|
|
support/man2html.c | 12 ++++++++++++
|
|
|
|
1 file changed, 12 insertions(+)
|
|
|
|
|
|
|
|
--- support/man2html.c
|
|
|
|
+++ support/man2html.c 2022-09-12 08:27:06.352648345 +0000
|
|
|
|
@@ -476,6 +476,18 @@ expand_char(int nr)
|
|
|
|
charb[0] = nr / 256;
|
|
|
|
charb[1] = nr % 256;
|
|
|
|
charb[2] = '\0';
|
|
|
|
+ if (charb[1] == 'q') {
|
|
|
|
+ switch (charb[0]) {
|
|
|
|
+ case 'a':
|
2022-09-19 15:12:58 +02:00
|
|
|
+ strncpy(charb, "'", 7);
|
2022-09-15 15:15:46 +02:00
|
|
|
+ charb[7] = '\0';
|
|
|
|
+ break;
|
|
|
|
+ case 'd':
|
|
|
|
+ strncpy(charb, """, 6);
|
|
|
|
+ charb[6] = '\0';
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
if (charb[0] == '<') { /* Fix up <= */
|
|
|
|
charb[4] = charb[1];
|
|
|
|
strncpy(charb, "<", 4);
|