Improve render plugin selection

Authored by vkrause on Oct 8 2017, 12:56 PM.

Description

Improve render plugin selection

Summary:
This now considers two additional attributes:

  • the message mimetype, with the most specific matching one considered first
  • a plugin priority to disambiguate as a last resort

This became necessary with the fairly aggressive syntax highlighting
plugin also triggering on vcard or ical attachments. Their plugins now
have priority, as their mimetypes are more specific than text/plain the
highlighting plugin is registered for.

Reviewers: knauss

Reviewed By: knauss

Subscribers: KDE PIM

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D8195

Details

Committed
vkrauseOct 15 2017, 12:06 PM
Reviewer
knauss
Differential Revision
D8195: Improve render plugin selection
Parents
R94:c12692c95d4e: Remove the now no longer used legacy rendering infrastructure
Branches
Unknown
Tags
Unknown