[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 58c234a: Prefer 'strong' and 'em' to 'b' and 'i' in html-mode
From: |
Stefan Kangas |
Subject: |
master 58c234a: Prefer 'strong' and 'em' to 'b' and 'i' in html-mode |
Date: |
Tue, 5 May 2020 21:31:48 -0400 (EDT) |
branch: master
commit 58c234aa8cb6e76d377f07cbf0b59f2552eb296b
Author: Stefan Kangas <address@hidden>
Commit: Stefan Kangas <address@hidden>
Prefer 'strong' and 'em' to 'b' and 'i' in html-mode
* lisp/textmodes/sgml-mode.el (html-face-tag-alist): Prefer inserting
'strong' and 'em' tags to 'b' and 'i' in html-mode. (Bug#41031)
* lisp/textmodes/sgml-mode.el (html-mode): Update docstring to do the
same.
---
lisp/textmodes/sgml-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 9b29b84..b5ff6a6 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -1852,8 +1852,8 @@ This takes effect when first loading the library.")
"Keymap for commands for use in HTML mode.")
(defvar html-face-tag-alist
- '((bold . "b")
- (italic . "i")
+ '((bold . "strong")
+ (italic . "em")
(underline . "u")
(mode-line . "rev"))
"Value of `sgml-face-tag-alist' for HTML mode.")
@@ -2363,7 +2363,7 @@ have <h1>Very Major Headlines</h1> through <h6>Very Minor
Headlines</h6>
<p>Paragraphs only need an opening tag. Line breaks and multiple spaces are
ignored unless the text is <pre>preformatted.</pre> Text can be marked as
-<b>bold</b>, <i>italic</i> or <u>underlined</u> using the normal M-o or
+<strong>bold</strong>, <em>italic</em> or <u>underlined</u> using the normal
M-o or
Edit/Text Properties/Face commands.
Pages can have <a name=\"SOMENAME\">named points</a> and can link other points
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 58c234a: Prefer 'strong' and 'em' to 'b' and 'i' in html-mode,
Stefan Kangas <=