WordPress.org

Ready to get started?Download WordPress

Forums

MailPress
[resolved] Html2Text: Entities shouldn't have caseless regex-option (2 posts)

  1. andreash82
    Member
    Posted 1 year ago #

    Hi,

    just a short information: All entries in mp-content/advanced/html2txt/entities.xml contain the regex option "i" for case insensitive pattern matching.
    This is erroneous. Just a little example for German umlauts, which exist in upper and lower case:

    (Daily Newsletter)
    Language file contains: "Täglicher Newsletter"
    Result in mail subject: "TÄglicher Newsletter" instead of "Täglicher Newsletter"
    Cause: The first pattern in entities.xml that matches is "Ä" due to the caseless option.

    In my opinion no entity should be matched case insensitive. If someone writes the HTML entity in wrong case, it's definitly his own fault.

    Greets,
    Andreas

    http://wordpress.org/extend/plugins/mailpress/

  2. andreash82
    Member
    Posted 1 year ago #

    Edit: - hm... wrong forum entry (this second post) is not deletable? -

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic