* lisp/net/shr.el (shr-tag-sub): Handle BOB (bug#79448).
This commit is contained in:
parent
d37a55c0c8
commit
04342d3654
1 changed files with 1 additions and 1 deletions
|
|
@ -1644,7 +1644,7 @@ Based on https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-infore
|
|||
;; happen sometimes because of a <br> tag and the intent seems to be
|
||||
;; alignment of subscript and superscript but I don't think that is
|
||||
;; possible in Emacs. So we remove the newline in that case.
|
||||
(when (bolp)
|
||||
(when (and (bolp) (not (bobp)))
|
||||
(forward-char -1)
|
||||
(delete-char 1))
|
||||
(let ((start (point)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue