+2005-12-20 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * nnrss.el (nnrss-request-article): Replace <br />s with newlines
+ in text/plain part.
+ (nnrss-check-group): Don't add excessive newline to dc:subject.
+
2005-12-19 Mark Plaksin <happy@mcplaksin.org> (tiny change)
* nnrss.el (nnrss-check-group): Put the RSS dc:subject in the
(insert "</body></html>\n"))
(mime-edit-insert-text "plain")
(when text
- (insert text "\n")
+ ;; See `nnrss-check-group', which inserts <br />s.
+ (insert (gnus-replace-in-string text "<br />" "\n") "\n")
(when (or link enclosure)
(insert "\n")))
(when link
(setq extra (or extra
(nnrss-node-text content-ns 'encoded item)
(nnrss-node-text rss-ns 'description item)))
- (if (setq feed-subject (nnrss-node-text dc-ns 'subject item))
- (setq extra (concat feed-subject "<br /><br />\n" extra)))
+ (if (setq feed-subject (nnrss-node-text dc-ns 'subject item))
+ (setq extra (concat feed-subject "<br /><br />" extra)))
(setq author (or (nnrss-node-text rss-ns 'author item)
(nnrss-node-text dc-ns 'creator item)
(nnrss-node-text dc-ns 'contributor item)))