Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
This commit is contained in:
commit
7e4c7c447e
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ Example:
|
||||||
|
|
||||||
|
|
||||||
# Create title element
|
# 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::Element.new('title', doc)
|
||||||
title << Nokogiri::XML::Text.new(doc_title, doc)
|
title << Nokogiri::XML::Text.new(doc_title, doc)
|
||||||
head << title
|
head << title
|
||||||
|
|
Loading…
Reference in a new issue