shr.el (shr-remove-trailing-whitespace): Really delete the padding on too-wide lines.
This commit is contained in:
parent
fcacfa8d51
commit
888ab66104
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-02-15 Lars Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* shr.el (shr-remove-trailing-whitespace): Really delete the padding on
|
||||
too-wide lines.
|
||||
|
||||
2012-02-15 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* shr.el (shr-rescale-image): Undo previous change; see
|
||||
|
|
|
@ -160,7 +160,7 @@ DOM should be a parse tree as generated by
|
|||
(goto-char start)
|
||||
(while (not (eobp))
|
||||
(end-of-line)
|
||||
(when (> (current-column) width)
|
||||
(when (> (shr-previous-newline-padding-width (current-column)) width)
|
||||
(dolist (overlay (overlays-at (point)))
|
||||
(when (overlay-get overlay 'before-string)
|
||||
(overlay-put overlay 'before-string nil))))
|
||||
|
|
Loading…
Add table
Reference in a new issue