0
0
Fork 0

Small optimizations in Atom feeds

This commit is contained in:
Eugen Rochko 2016-03-21 10:31:20 +01:00
parent 19a259915e
commit 7e00a21ea6
5 changed files with 6 additions and 4 deletions

View file

@ -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)