Re: [PATCH] syntax: html: remove the special highlighting of the b, i, and u elements

Benno Schulenberg <[email protected]>
Newsgroups gmane.editors.nano.devel
Message-ID <[email protected]>
Op 28-12-2022 om 01:00 schreef Hussam al-Homsi:
> Those elements usually have a stylistic effect, but in modern HTML
> they just have a semantic meaning. Also, they're not any more special
> than other elements that usually have a stylistic effect, such as the
> s element, which usually results in strike-through text.

Sure.  But I don't see any harm in coloring them specially, because in
the vast majority of cases, <b> will bold, <i> will italicize, and <u>
will underline.  Furthermore, both Vim and Emacs will /do/ those things
to the text between a <b>|<i>|<u> tag and its corresponding closing tag.
Nano does not change the appearance of the enclosed text, but I think
it's fine to color the tags themselves specially.

Benno
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.