Slightly improve Online Ety Dict formatting

This commit is contained in:
TEC 2020-10-05 10:43:24 +08:00
parent 9ea58e7ee5
commit 6fb063b9f6
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 2 additions and 1 deletions

View File

@ -1749,7 +1749,7 @@ collected using https://framagit.org/tuxor1337/dictmaster."
75 5 3 " "))
'face '(italic font-lock-type-face))
)))
(replace-regexp-in-string "<br/><br/>" "")
(replace-regexp-in-string "<br/>\n?<br/>" "\n")
(replace-regexp-in-string
"<p>\\(.*?\\)</p>"
(lambda (match)
@ -1757,6 +1757,7 @@ collected using https://framagit.org/tuxor1337/dictmaster."
(lexic-format-reflow-text (match-string 1 match)
80 5)
"\n")))
(replace-regexp-in-string "</?p>" "") ; any straggling pars
(replace-regexp-in-string
"^.\\{86,\\}"
(lambda (match)