Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki

This commit is contained in:
Jacques Distler 2011-09-22 07:55:59 -05:00
commit 88dd41e75f

View file

@ -170,7 +170,7 @@ Example:
root = Nokogiri::XML::Element.new('html', doc) root = Nokogiri::XML::Element.new('html', doc)
root.add_namespace(nil, 'http://www.w3.org/1999/xhtml') root.add_namespace(nil, 'http://www.w3.org/1999/xhtml')
root.add_namespace('svg', "http://www.w3.org/2000/svg" ) root.add_namespace('svg', "http://www.w3.org/2000/svg" )
lang = self[:lang] || 'en' lang = self.attributes[:lang] || 'en'
root['xml:lang'] = lang root['xml:lang'] = lang
doc << root doc << root