[DRE-commits] r5276 - trunk/libxml-parser-ruby/debian/patches

Deepak Tripathi deepak-guest at alioth.debian.org
Wed May 12 08:16:56 UTC 2010


Author: deepak-guest
Date: 2010-05-12 08:16:52 +0000 (Wed, 12 May 2010)
New Revision: 5276

Added:
   trunk/libxml-parser-ruby/debian/patches/replaces_gt_symbol_by_enconded_version.patch
   trunk/libxml-parser-ruby/debian/patches/series
Log:
Added

Added: trunk/libxml-parser-ruby/debian/patches/replaces_gt_symbol_by_enconded_version.patch
===================================================================
--- trunk/libxml-parser-ruby/debian/patches/replaces_gt_symbol_by_enconded_version.patch	                        (rev 0)
+++ trunk/libxml-parser-ruby/debian/patches/replaces_gt_symbol_by_enconded_version.patch	2010-05-12 08:16:52 UTC (rev 5276)
@@ -0,0 +1,28 @@
+Index: xmlparser/lib/xml/dom/core.rb
+===================================================================
+--- xmlparser.orig/lib/xml/dom/core.rb	2010-05-12 13:36:36.000000000 -0400
++++ xmlparser/lib/xml/dom/core.rb	2010-05-12 13:38:46.000000000 -0400
+@@ -1846,6 +1846,8 @@
+             value << "&quot;"
+           when ?<
+             value << "&lt;"
++	  when ?>
++	    value << "&gt;"
+           else
+             value << code
+           end
+Index: xmlparser/lib/xml/dom2/attr.rb
+===================================================================
+--- xmlparser.orig/lib/xml/dom2/attr.rb	2010-05-12 13:39:12.000000000 -0400
++++ xmlparser/lib/xml/dom2/attr.rb	2010-05-12 13:40:15.000000000 -0400
+@@ -122,7 +122,9 @@
+             value << "&quot;"
+           elsif c == "<"
+             value << "&lt;"
+-          else
++          elsif c == ">"
++	    value << "&gt;"
++	  else
+             value << c
+           end
+         end

Added: trunk/libxml-parser-ruby/debian/patches/series
===================================================================
--- trunk/libxml-parser-ruby/debian/patches/series	                        (rev 0)
+++ trunk/libxml-parser-ruby/debian/patches/series	2010-05-12 08:16:52 UTC (rev 5276)
@@ -0,0 +1 @@
+replaces_gt_symbol_by_enconded_version.patch




More information about the Pkg-ruby-extras-commits mailing list