unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: emacs-devel@gnu.org
Subject: Re: set sgml-xml-mode to true in some modes derived from sgml-mode
Date: Fri, 5 Aug 2022 06:28:49 +0200	[thread overview]
Message-ID: <YuycgTG0uSyFZkLH@tuxteam.de> (raw)
In-Reply-To: <CAJddU=qsoeyfcVj=_1pCDwepFukUiBim9hxs5hc23k7=nc_8pA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 956 bytes --]

On Thu, Aug 04, 2022 at 10:29:37PM +0300, Yilkal Argaw wrote:
> > Specifically, you[^*] want in your[^**] HTML all closing tags that are
> > permitted by the HTML syntax. </p>, </li>, </dd>, but not </input> or
> > </img>. (You[^*] also want quotes around all your[^**] attribute
> > values.)
> May be having a variable that contains an list of tags you want to
> close in html (i.e. those that are permitted by the HTML syntax and
> are enforced by some standards

That would be the HTML "void elements". This [1] is the most current
(2011) reference I can come up with:

    area, base, br, col, command, embed, hr, img, input, keygen, link,
    meta, param, source, track, wbr

HTML being a "living standard" (an euphemism for "we can do what we
please, users be damned") it's not impossible that they get proliferated
since then.

Cheers

[1] https://www.w3.org/TR/2011/WD-html-markup-20110113/syntax.html#syntax-elements
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

      reply	other threads:[~2022-08-05  4:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-04 10:16 set sgml-xml-mode to true in some modes derived from sgml-mode Yilkal Argaw
2022-08-04 10:49 ` Yilkal Argaw
2022-08-04 11:59 ` Stefan Kangas
2022-08-04 12:55 ` Lars Ingebrigtsen
2022-08-04 16:56   ` Yuri Khan
2022-08-04 19:29     ` Yilkal Argaw
2022-08-05  4:28       ` tomas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YuycgTG0uSyFZkLH@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).