• Resolved starpowerit

    (@starpowerit)


    Hi,

    I’ve run into an issue where emails are sent with XML markup in the email body not displaying properly in the “raw” view of the email in the Mailing Logs.

    I’ve tested version 1.8.1 where the plugin works as expected for an email that has been sent with XML in the email body.

    This displays in the “raw” view as:

    Message:
    <?xml version=”1.0″?> <xmlnodes>…</xmlnodes>

    After the plugin is upgraded to version 1.8.5, the same email data is displayed as:

    Message:
    <title></title>

    With the HTML “title” opening and closing tags in place of the XML.

    I can supply full examples of you would like.

    Any help you can provide would be appreciated, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • No3x

    (@no3x)

    Yes, please just leave a message as it is stored in the database. I guess it’s rendered fine in the current dev version of the plugin that will be released as 1.8.6.

    Thread Starter starpowerit

    (@starpowerit)

    Thanks, the format of the XML in the “message” column of the wpml_mails table is as follows:

    <?xml version=”1.0″?>
    <request>
    <timestamp><![CDATA[20190318124647]]></timestamp>
    <title><![CDATA[]]></title>
    <node><![CDATA[Text in node1]]></node>
    <node2><![CDATA[Text in node2]]></node2>
    </request>

    This is reduced from its original format of course but it would suffice for testing purposes.

    When will the new 1.8.6 plugin be available?

    Thanks again for your help.

    No3x

    (@no3x)

    I checked with the latest changes that are planned to go into 1.8.6:
    The code renders to the exact input in raw mode. In HTML mode it is reduced to <title></title>. I think this is the desired behavior.

    I don’t have a date for a realease yet but closed some issues today – if there is no bigger issue I might be able to release soon.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘XML Markup Compatibility with v1.8.5’ is closed to new replies.