Introduction
Introduction Statistics Contact Development Disclaimer Help
fix: don't use entity data for all tags - grabtitle - stupid HTML title grabber
git clone git://git.codemadness.org/grabtitle
Log
Files
Refs
README
LICENSE
---
commit 7d6279c8dec086f01bd2355d15292afa630238a4
parent 5c21827b86be877d3d5df7f7a9b810822e4f8e22
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 31 Mar 2018 13:01:57 +0200
fix: don't use entity data for all tags
Diffstat:
M title.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/title.c b/title.c
@@ -53,6 +53,9 @@ xmldataentity(XMLParser *p, const char *d, size_t dl)
{
char buf[16];
+ if (!istitle)
+ return;
+
if (xml_entitytostr(d, buf, sizeof(buf))) {
d = buf;
dl = strlen(buf);
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.