Diff

mod_pastebin/mod_pastebin.lua @ 71:3c18c2d03bc2

mod_pastebin: Fix finding of XHTML content.
author Paul Aurich <paul@darkrain42.org>
date Fri, 30 Oct 2009 21:11:42 -0700
parent 25:ea59a8d98b03
child 75:3c7189e26848
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