+2005-04-13 Miles Bader <miles@gnu.org>
+
+ * mm-util.el (mm-string-to-multibyte): Use Gnus trunk definition.
+
+2005-04-12 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * nnrss.el (nnrss-node-text): Replace CRLFs (which might be
+ contained in text because xml.el decodes entities) with LFs.
+
2005-04-11 Lute Kamstra <lute@gnu.org>
* message.el (message-make-date): Handle byte-compiler warnings
;; (string-to-multibyte s) ~= (decode-coding-string s 'binary)
;; (string-make-multibyte s) ~= (decode-coding-string s locale-coding-system)
(string-as-multibyte . identity)
- (string-to-multibyte . mm-string-as-multibyte)
+ (string-to-multibyte
+ . (lambda (string)
+ "Return a multibyte string with the same individual chars as string."
+ (mapconcat
+ (lambda (ch) (mm-string-as-multibyte (char-to-string ch)))
+ string "")))
(multibyte-string-p . ignore)
;; It is not a MIME function, but some MIME functions use it.
(make-temp-file . (lambda (prefix &optional dir-flag)
(text (if (and node (listp node))
(nnrss-node-just-text node)
node))
- (cleaned-text (if text (gnus-replace-in-string
- text "^[\000-\037\177]+\\|^ +\\| +$" ""))))
+ (cleaned-text (if text
+ (gnus-replace-in-string
+ (gnus-replace-in-string
+ text "^[\000-\037\177]+\\|^ +\\| +$" "")
+ "\r\n" "\n"))))
(if (string-equal "" cleaned-text)
nil
cleaned-text)))