Sha256: 24127a6211edeb2a82fcb86f2e0cd06903aefb9a834e037d84178c3dc4d1ee65

Contents?: true

Size: 1.05 KB

Versions: 136

Compression:

Stored size: 1.05 KB

Contents

From 27e4aa8d885e47a296ea78d114dbbe8fc7aa3508 Mon Sep 17 00:00:00 2001
From: Kevin Solorio <soloriok@gmail.com>
Date: Fri, 1 Feb 2019 14:32:42 -0800
Subject: [PATCH] Revert-support-html-h-b-7-1

---
 entities.c | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/entities.c b/entities.c
index 43549bc5..82652f6d 100644
--- a/entities.c
+++ b/entities.c
@@ -623,23 +623,6 @@ xmlEncodeEntitiesInternal(xmlDocPtr doc, const xmlChar *input, int attr) {
 	    *out++ = 't';
 	    *out++ = ';';
 	} else if (*cur == '&') {
-	    /*
-	     * Special handling of &{...} construct from HTML 4, see
-	     * http://www.w3.org/TR/html401/appendix/notes.html#h-B.7.1
-	     */
-	    if (html && attr && (cur[1] == '{') &&
-	        (strchr((const char *) cur, '}'))) {
-	        while (*cur != '}') {
-		    *out++ = *cur++;
-		    indx = out - buffer;
-		    if (indx + 100 > buffer_size) {
-			growBufferReentrant();
-			out = &buffer[indx];
-		    }
-		}
-		*out++ = *cur++;
-		continue;
-	    }
 	    *out++ = '&';
 	    *out++ = 'a';
 	    *out++ = 'm';
-- 
2.16.2

Version data entries

136 entries across 118 versions & 10 rubygems

Version Path
husc-0.2.1 vendor/bundle/gems/nokogiri-1.10.7/patches/libxml2/0002-Remove-script-macro-support.patch
husc-0.2.0 vendor/bundle/gems/nokogiri-1.10.7/patches/libxml2/0002-Remove-script-macro-support.patch
husc-0.1.1 vendor/bundle/gems/nokogiri-1.10.7/patches/libxml2/0002-Remove-script-macro-support.patch
husc-0.1.0 vendor/bundle/gems/nokogiri-1.10.7/patches/libxml2/0002-Remove-script-macro-support.patch
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.7/patches/libxml2/0002-Remove-script-macro-support.patch
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.3/patches/libxml2/0002-Remove-script-macro-support.patch
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.4/patches/libxml2/0002-Remove-script-macro-support.patch
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.5/patches/libxml2/0002-Remove-script-macro-support.patch
nokogiri-1.10.7 patches/libxml2/0002-Remove-script-macro-support.patch
nokogiri-1.10.7-x86-mingw32 patches/libxml2/0002-Remove-script-macro-support.patch
nokogiri-1.10.7-x64-mingw32 patches/libxml2/0002-Remove-script-macro-support.patch
nokogiri-1.10.7-java patches/libxml2/0002-Remove-script-macro-support.patch
nokogiri-1.10.6 patches/libxml2/0002-Remove-script-macro-support.patch
nokogiri-1.10.6-x86-mingw32 patches/libxml2/0002-Remove-script-macro-support.patch
nokogiri-1.10.6-x64-mingw32 patches/libxml2/0002-Remove-script-macro-support.patch
nokogiri-1.10.6-java patches/libxml2/0002-Remove-script-macro-support.patch
tdiary-5.1.0 vendor/bundle/gems/nokogiri-1.10.5/patches/libxml2/0002-Remove-script-macro-support.patch
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/nokogiri-1.10.5/patches/libxml2/0002-Remove-script-macro-support.patch
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/nokogiri-1.10.3/patches/libxml2/0002-Remove-script-macro-support.patch
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/nokogiri-1.10.4/patches/libxml2/0002-Remove-script-macro-support.patch