diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-01-18 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-01-18 00:00:00 +0000 |
commit | 78f721b5957e588a35b1474b70c3bb4f213ff55ae1badabaa59eeb2180186324 (patch) | |
tree | 03705e5a4e7464084d9d0a67b70595992fcbe8cad4039e8d8c17d39cdf7fcfd7 | |
parent | c6e80117776564c9cb1084572eb69520aa8056cfb6538d24d736be2e59dc8a80 (diff) |
Change ' back to '. &apos is supported by HTML5
-rw-r--r-- | src/gemini2html.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gemini2html.c b/src/gemini2html.c index 5e439db..3d0c855 100644 --- a/src/gemini2html.c +++ b/src/gemini2html.c @@ -71,7 +71,7 @@ char* escape_html_attribute(const char* unescaped, const size_t size) { case '<': strcpy(substitute, "<"); break; case '>': strcpy(substitute, ">"); break; case '&': strcpy(substitute, "&"); break; - case '\'': strcpy(substitute, "'"); break; + case '\'': strcpy(substitute, "'"); break; case '\"': strcpy(substitute, """); break; default: strncpy(substitute, unescaped + pos, 1); |