mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-16 23:33:17 +00:00
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