Small optimizations in Atom feeds
This commit is contained in:
parent
19a259915e
commit
7e00a21ea6
5 changed files with 6 additions and 4 deletions
|
@ -40,7 +40,7 @@ module AtomBuilderHelper
|
|||
end
|
||||
|
||||
def title(xml, title)
|
||||
xml.title title
|
||||
xml.title strip_tags(title || '').truncate(80)
|
||||
end
|
||||
|
||||
def author(xml, &block)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue