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

Hussam al-Homsi <[email protected]>
Newsgroups gmane.editors.nano.devel
Message-ID <CAJebAKuCV_6GXa+kkuFzCffDxnBRHE3YGzUox0ayD-Eaxk4bNw@mail.gmail.com>
On Sat, Dec 31, 2022 at 4:16 AM Benno Schulenberg <[email protected]> wrote:
> Syntax coloring is largely a matter of taste.

This patch isn't about a matter of taste, such as choice of color.
It's about what should/shouldn't be colored. Elements in general are a
distinct part of the HTML syntax, so it's uncontroversial that they
should be colored. The same thing can't be said for <b>, <i>, and <u>.
No justification for their special coloring was given in the original
commit [1] or in this thread. I've justified this patch, and no
criticism of my justification was given in this thread.

Here's what the elements represent:
  https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-b-element
  https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-i-element
  https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-u-element

I hope it's now clear that they don't form a set that justifies
special coloring.

[1] https://git.savannah.gnu.org/cgit/nano.git/commit/syntax/html.nanorc?id=124a859516c7299191a77c00187e7770c31571a1
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.