(shr-tag-p): Collapse subsequent <p>s.
(shr-ensure-paragraph): Don't insert double line feeds after blank
lines.
+ (shr-insert): \t is also space.
2010-10-03 Julien Danjou <julien@danjou.info>
(t
(let ((first t)
column)
- (when (and (string-match "^[ \n]" text)
+ (when (and (string-match "^[ \t\n]" text)
(not (bolp)))
(insert " "))
(dolist (elem (split-string text))
(unless shr-start
(setq shr-start (point)))
(insert elem))
- (when (and (string-match "[ \n]$" text)
+ (when (and (string-match "[ \t\n]$" text)
(not (bolp)))
(insert " "))))))