mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
Preserve <title> in the Emacs manuals
Backport from master.
* admin/admin.el (manual-html-fix-headers): Preserve the <title>
element (bug#48334).
(cherry picked from commit b778e71af7
)
This commit is contained in:
parent
41472f3b6c
commit
724f712ef1
@ -477,10 +477,11 @@ the @import directive."
|
||||
(delete-region opoint (point))
|
||||
(search-forward "<meta http-equiv=\"Content-Style")
|
||||
(setq opoint (match-beginning 0)))
|
||||
(search-forward "<title>")
|
||||
(delete-region opoint (match-beginning 0))
|
||||
(search-forward "</title>\n")
|
||||
(delete-region opoint (point))
|
||||
(search-forward "<link href=")
|
||||
(goto-char (match-beginning 0))
|
||||
(when (search-forward "<link href=" nil t)
|
||||
(goto-char (match-beginning 0)))
|
||||
(insert manual-links-string)
|
||||
(setq opoint (point))
|
||||
(search-forward "</head>")
|
||||
|
Loading…
Reference in New Issue
Block a user