Earlier quoted context omitted.
> where in the HTML spec does it say that the interior of pre is parsed differently? I was wrong about that. I had a vague memory of putting HTML inside a PRE tag once and having it come out as if it were escaped, but apparently I hallucinated that. > A major example is that the Vim editor uses pre for formatting syntax colored code to HTML (when you do that with :TOhtml). OK, I stand corrected on that too. > If we a…
It was and for my example ( isn't a valid tag). The point that I was getting at was that and self-closing tag are represented differently ( , , and are all different) in a parsed SGML data structure (though they both are equivalent in the HTML DOM tree in the browser). This is why you would need separate tags to emit them properly with an S-expr syntax (tag), (tag/), and (tag)(/tag) in my example.
==> (:tag)
==> (:tag nil)
==> (:tag "")
Using (:tag/) is a bad idea because that would screw up attributes.CL-WHO doesn't support this, but that would be easy to change if it ever actually mattered to anyone.