Changeset

71:3c18c2d03bc2

mod_pastebin: Fix finding of XHTML content.
author Paul Aurich <paul@darkrain42.org>
date Fri, 30 Oct 2009 21:11:42 -0700
parents 70:d3afb1403aa7
children 72:2bf6c7c590a1
files mod_pastebin/mod_pastebin.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_pastebin/mod_pastebin.lua	Sat Oct 31 13:47:34 2009 +0000
+++ b/mod_pastebin/mod_pastebin.lua	Fri Oct 30 21:11:42 2009 -0700
@@ -46,7 +46,7 @@
 	for k,v in ipairs(stanza) do
 		if v.name == "body" then
 			body, bodyindex = v, k;
-		elseif v.name == "html" and v.attr.xmlns == xmlns_xhtml then
+		elseif v.name == "html" and v.attr.xmlns == xmlns_xhtmlim then
 			htmlindex = k;
 		end
 	end