mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-31 11:13:50 +00:00
lisp/gnus/gnus-art.el (gnus-article-browse-html-parts): Replace LWSPs with ` 's in header
This commit is contained in:
parent
0b575a333b
commit
4cbac8e94b
@ -1,5 +1,8 @@
|
||||
2013-11-27 Katsumi Yamaoka <yamaoka@jpl.org>
|
||||
|
||||
* gnus-art.el (gnus-article-browse-html-parts):
|
||||
Replace LWSPs with ` 's in header.
|
||||
|
||||
Work for broken Chinese articles.
|
||||
|
||||
* gnus-art.el (gnus-article-browse-html-save-cid-content):
|
||||
|
@ -2895,6 +2895,13 @@ message header will be added to the bodies of the \"text/html\" parts."
|
||||
((match-beginning 3) "&")
|
||||
(t "<br>\n"))))
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "^[\t ]+" nil t)
|
||||
(dotimes (i (prog1
|
||||
(current-column)
|
||||
(delete-region (match-beginning 0)
|
||||
(match-end 0))))
|
||||
(insert " ")))
|
||||
(goto-char (point-min))
|
||||
(insert "<div align=\"left\">\n")
|
||||
(goto-char (point-max))
|
||||
(insert "</div>\n<hr>\n")
|
||||
|
Loading…
Reference in New Issue
Block a user