[
https://issues.apache.org/jira/browse/TIKA-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18080166#comment-18080166
]
Hudson commented on TIKA-4724:
------------------------------
SUCCESS: Integrated in Jenkins build Tika » tika-main-jdk17 #1362 (See
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk17/1362/])
[TIKA-4724] Use IANA-registered text/markdown as primary type (#2806) (github:
[https://github.com/apache/tika/commit/c29724782854bb5a319f4a1940d0828a58ace3f9])
* (edit) tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
> Need to add text/markdown
> -------------------------
>
> Key: TIKA-4724
> URL: https://issues.apache.org/jira/browse/TIKA-4724
> Project: Tika
> Issue Type: Bug
> Components: mime
> Affects Versions: 3.3.0
> Reporter: Shawn Rutledge
> Priority: Major
>
> [https://www.rfc-editor.org/rfc/rfc7763.html] says "text/markdown" is the
> right mime type for markdown, but Tika has it only as text/x-web-markdown.
> This causes some trouble in Qt on platforms where we use Tika as our mime
> type database: [https://doc.qt.io/qt-6/qfiledialog.html#setMimeTypeFilters]
> is used to map mime types to name.extension filters for a file dialog. The
> user expects to use "text/markdown" as the mime type for markdown, and on
> platforms that have independent mime databases (such as Linux), that works:
> the result is "*.md" shows up as one of the file filters for the dialog
> (along with whatever alternative extensions). On macOS though, it doesn't,
> because there we use tika, and it expects text/x-web-markdown.
> The Qt bug is [https://qt-project.atlassian.net/browse/QTBUG-146675] and
> maybe we can fix it in Qt for now; but we periodically sync the tika
> database, so it can easily come up again if it's not fixed upstream.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)