Commit bdaa2af
text/markdown has been the IANA-registered media type for Markdown
since RFC 7763 (March 2016). freedesktop's shared-mime-info has used
it as the primary type for years, with text/x-markdown as an alias.
Consumers that fall back to Tika's bundled database when no system
shared-mime-info is installed (e.g. Qt on macOS and Windows) cannot
currently resolve text/markdown and silently drop the type from
filter lists.
Promote text/markdown to the primary type and keep Tika's historical
text/x-web-markdown together with freedesktop's text/x-markdown as
aliases, so existing lookups continue to resolve. Update the comment
to match freedesktop's wording.
Generated-by: Claude Opus 4.7 (claude-opus-4-7)
(cherry picked from commit c297247)
1 parent a475be6 commit bdaa2af
1 file changed
Lines changed: 4 additions & 2 deletions
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8533 | 8533 | | |
8534 | 8534 | | |
8535 | 8535 | | |
8536 | | - | |
8537 | | - | |
| 8536 | + | |
| 8537 | + | |
| 8538 | + | |
| 8539 | + | |
8538 | 8540 | | |
8539 | 8541 | | |
8540 | 8542 | | |
| |||
0 commit comments