]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix escape code '&quote;' should be '"'. (#1355)
authorazlm8t <31170571+azlm8t@users.noreply.github.com>
Sun, 12 Jul 2020 17:01:01 +0000 (18:01 +0100)
committerGitHub <noreply@github.com>
Sun, 12 Jul 2020 17:01:01 +0000 (19:01 +0200)
For example S3.2.4:
https://www.w3.org/MarkUp/html-spec/html-spec.txt
or
https://dev.w3.org/html5/html-author/charref

The browsers I tested displayed '&quote;' as
double quote marks followed by "e;".

src/webui/html.c

index 1c9d205cc6ec7964e97b51c46b88bc5d21b1cbc5..fc7a56c029ba7d3b7c89f600fe8b25da97a8df7f 100644 (file)
@@ -30,7 +30,7 @@ static struct {
   { '<',  "&lt;"    },
   { '&',  "&amp;"   },
   { '\'', "&apos;"  },
-  { '"',  "&quote;" }
+  { '"',  "&quot;" }
 };
 
 static const char *html_escape_char ( const char chr )