]> Lady’s Gitweb - Shushe/commit
Make X·M·L types take priority over plaintext ones
authorLady <redacted>
Thu, 11 Jan 2024 01:20:38 +0000 (20:20 -0500)
committerLady <redacted>
Thu, 11 Jan 2024 01:20:38 +0000 (20:20 -0500)
commit86c5d5eeef6def732f49b94bc497ee07d92dc72e
treea1d0ec9b517065a2b3111dc044514454281d69bf
parentd94cfdc987aba3983f4945d59b02cbb062573432
Make X·M·L types take priority over plaintext ones

If `XMLTYPES` defines something as X·M·L, it should be treated as
X·M·L, regardless of whether there is a parser which claims to support
it.

This avoids awkward footguns where a parser might transform and claim
support for (through `@书社:supported-media-types`) an X·M·L dialect,
resulting in ⛩️📰 书社 treating that type as plaintext and wrapping it
in an `<html:script>` element. X·M·L types listed in
`@书社:supported-media-types` should instead not have any effect
(⛩️📰 书社 should not require parsers to reparse X·M·L).

This commit also removes the unused `simpletypes` variable; it was
formerly used for categorization of types into plaintext or asset prior
to the implementation of automatic detection.
GNUmakefile
This page took 0.058233 seconds and 4 git commands to generate.