[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Ox-html: Replace <b> with <strong> and <i> with <em>
From: |
Kaushal Modi |
Subject: |
Re: [O] Ox-html: Replace <b> with <strong> and <i> with <em> |
Date: |
Wed, 24 Oct 2018 11:14:48 -0400 |
On Wed, Oct 24, 2018 at 2:04 AM Nicolas Goaziou <address@hidden> wrote:
>
>
> No objection from me. Thank you!
Actually, before making this change, I started reading up on the HTML5
spec on the b, strong, i, em tags, and now I am confused as ever.
Facts:
- b and i are not deprecated
- b and strong are both valid but their use depends on the writer's
context (but Org mode has just one mark for either "*")
- i and em are both valid but their use depends on the writer's
context (but Org mode has just one mark for either "/").
>From "em" docs[em], in the NOTE section there:
> The em element isn’t a generic "italics" element. Sometimes, text is intended
> to stand out from the rest of the paragraph, as if it was in a different mood
> or voice. For this, the i element is more appropriate.
See the b tag docs[b] and i tag docs[i], and this W3C FAQ on using b
and i tags[faq] for more.
*Summary* (/see what I did there?/):
I guess there's no need to change what "*" and "/" do right now in
ox-html, as there doesn't seem "one right way" to do things here.
And folks strongly wanting to use <strong> and <em> for bold and
italic can customize org-html-text-markup-alist.
HTML experts, please chime in.
[em]: https://www.w3.org/TR/html5/textlevel-semantics.html#the-em-element
[b]: https://www.w3.org/TR/html5/textlevel-semantics.html#the-b-element
[i]: https://www.w3.org/TR/html5/textlevel-semantics.html#the-i-element
[faq]: https://www.w3.org/International/questions/qa-b-and-i-tags
- [O] Ox-html: Replace <b> with <strong> and <i> with <em>, Kaushal Modi, 2018/10/23
- Re: [O] Ox-html: Replace <b> with <strong> and <i> with <em>, Nicolas Goaziou, 2018/10/24
- Re: [O] Ox-html: Replace <b> with <strong> and <i> with <em>,
Kaushal Modi <=
- Re: [O] Ox-html: Replace <b> with <strong> and <i> with <em>, Tim Cross, 2018/10/24
- [O] *markup*, /markup/ and _markup_ true semantics [Was: Re: Ox-html: Replace <b> with <strong> and <i> with <em>], Garreau\, Alexandre, 2018/10/26
- Re: [O] *markup*, /markup/ and _markup_ true semantics [Was: Re: Ox-html: Replace <b> with <strong> and <i> with <em>], Tim Cross, 2018/10/26
- Re: [O] *markup*, /markup/ and _markup_ true semantics [Was: Re: Ox-html: Replace <b> with <strong> and <i> with <em>], Garreau\, Alexandre, 2018/10/27
- Re: [O] *markup*, /markup/ and _markup_ true semantics [Was: Re: Ox-html: Replace <b> with <strong> and <i> with <em>], Tim Cross, 2018/10/28
- Re: [O] *markup*, /markup/ and _markup_ true semantics [Was: Re: Ox-html: Replace <b> with <strong> and <i> with <em>], Neil Jerram, 2018/10/28
- Re: [O] *markup*, /markup/ and _markup_ true semantics, Garreau\, Alexandre, 2018/10/28