equal
deleted
inserted
replaced
29 amp = "&"; |
29 amp = "&"; |
30 nbsp = utf8 and utf8.char(0xa0) or " "; |
30 nbsp = utf8 and utf8.char(0xa0) or " "; |
31 }); |
31 }); |
32 end |
32 end |
33 local summary; |
33 local summary; |
34 if title and content then |
34 if title and content and content:sub(1, #title) ~= title then |
35 summary = title .. "\n\n" .. content; |
35 summary = title .. "\n\n" .. content; |
36 elseif title or content then |
36 elseif title or content then |
37 summary = content or title; |
37 summary = content or title; |
38 end |
38 end |
39 for link in payload:childtags("link") do |
39 for link in payload:childtags("link") do |