aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorAmbrose Li <ambrose.li@gmail.com>2020-08-29 19:23:36 +0000
committerAmbrose Li <ambrose.li@gmail.com>2020-08-29 19:23:36 +0000
commitb9488ffe60963349bf622a7548e3b9dccc6e0728 (patch)
treeba10b68db484a2ece59738e9e341d623ee010062 /file.c
parentCleaned version of 20200823_q branch. Changes the behaviour of the q tag (whe... (diff)
downloadw3m-b9488ffe60963349bf622a7548e3b9dccc6e0728.tar.gz
w3m-b9488ffe60963349bf622a7548e3b9dccc6e0728.zip
Somehow the wrong quotes were used. This should fix the failing tests.
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index cf7a931..6011cf2 100644
--- a/file.c
+++ b/file.c
@@ -4490,7 +4490,7 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env)
#ifdef USE_M17N
#ifdef USE_UNICODE
if (DisplayCharset != WC_CES_US_ASCII) {
- HTMLlineproc1((obuf->q_level & 1 ? "&ldquo;": "&lsquo;"), h_env);
+ HTMLlineproc1((obuf->q_level & 1 ? "&lsquo;": "&ldquo;"), h_env);
obuf->q_level += 1;
}
else
@@ -4503,7 +4503,7 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env)
#ifdef USE_UNICODE
if (DisplayCharset != WC_CES_US_ASCII) {
obuf->q_level -= 1;
- HTMLlineproc1((obuf->q_level & 1 ? "&rdquo;": "&rsquo;"), h_env);
+ HTMLlineproc1((obuf->q_level & 1 ? "&rsquo;": "&rdquo;"), h_env);
}
else
#endif