Update eldoc-box--condense-large-newline-gaps

* eldoc-box.el:
(eldoc-box--condense-large-newline-gaps): Hide <br> at eol too.
This commit is contained in:
Yuan Fu 2023-03-10 14:45:28 -08:00
parent 41c2ac8b3b
commit b0935c1d39
No known key found for this signature in database
GPG Key ID: 56E19BC57664A442

View File

@ -679,7 +679,7 @@ height."
(while (re-search-forward
(rx (>= 2 (or "\n"
(seq bol "```" (* (syntax word)) "\n")
(seq bol "<br>" "\n")
(seq (+ "<br>") "\n")
(seq bol (+ (or " " "\t" "")) "\n"))))
nil t)
(if (or (eq (match-beginning 0) (point-min))