Does that mean the DB has data with mismatched tags in it?
The database has exactly what list members receive by email. What we are talking about is how this is rendered in HyperKitty.
Interestingly, the quoted part of my message has < where my message has proper less-than and greater-than for the Apache tags.
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
It's inconsistent with the archive rendering mode at lists.mailman3.org.
Here's what's going on. In normal text, mistune disables HTML tags by
converting <
to the html entity <
, but your browser renders the
HTML entity <
as <
so you see what was written.
The issue here is the text you quoted was originally in a markdown code
block, i.e. preceded and followed by lines of three backticks. Code
blocks are intended to be seen literally as written so they are wrapped
in <pre><code> ... </code></pre> tags in the HTML and also HTML escaped.
The problem is the tag disabling converts <
to <
but then the
HTML escaping converts <
to &lt;
which your browser then
renders as <
rather than <
.
(aside, it will be interesting to see how that is rendered in the archive)
If HyperKitty is set to render as plain text rather than markdown it doesn't interpret code blocks so this doesn't happen. There are other anomalies with the markdown rendering, e.g., as pointed out by Jeremy at https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
Those notwithstanding, we prefer markdown rendering for this list
because often people post Python snippets or mailman shell
interactions and enclosing those in markdown code blocks renders them
much better.
I haven't currently got an instance that I can test on but will keep this in mind when the time comes to migrate.
Should the rendering at lists.mailman3.org get modified, please share the procedure.
Testing: less-than and greater-than around a tag:
<Location /mailman/accounts/signup>
Testing: less-than and greater-than around a tag in a quoted block:
<Location /mailman/accounts/signup>
Both the above tests look fine in the archive.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan