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

This commit is contained in:
Jacques Distler 2011-09-23 02:46:31 -05:00
commit 7e4c7c447e

View file

@ -206,7 +206,7 @@ Example:
# Create title element
doc_title = self[:title] || self[:subject] || ""
doc_title = self.attributes[:title] || self.attributes[:subject] || ""
title = Nokogiri::XML::Element.new('title', doc)
title << Nokogiri::XML::Text.new(doc_title, doc)
head << title