From 724f712ef17d4a248048d97a8c9b72f95fcf0914 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 4 Jul 2022 12:47:16 +0200 Subject: [PATCH] Preserve in the Emacs manuals Backport from master. * admin/admin.el (manual-html-fix-headers): Preserve the <title> element (bug#48334). (cherry picked from commit b778e71af7ca8c59917334b4bb1b34cdb52faca9) --- admin/admin.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/admin/admin.el b/admin/admin.el index 57d5afb23b7..2a597e624bc 100644 --- a/admin/admin.el +++ b/admin/admin.el @@ -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 "\n") - (delete-region opoint (point)) - (search-forward "") -- 2.39.2