Plugin

EE 1
EE 2
MC XML Decode

Developer

Michael Cohen - ProImage

3rd Party (Free)

Download v1.0.0

Compatibility

  • LG Addon Updater
  • Multi Site Manager
  • Stand Alone Entry Form

Requirements

  • jQuery for the Control Panel

Tags

XML Decoding plugin. Converts entities into reserved XML characters. This plugin is the reverse of Rick Ellis's XML Encoding plugin.

This plugin was created to address an issue where certain WYSIWYG add-ons (Wygwam 2.1.7+ and MX Universal Editor) encoded curly brackets ( { and } ) into their XML entities: { and }. These encoded entities were not being picked up on by LG Replace, which would only trigger a replacement action when actual curly brackets were used.

What this plugin does is simply decode those XML entities back into their actual special characters, allowing LG Replace to pick up on the curly brackets once again.

Usage:

{exp:xml_decode}text you want processed{/exp:xml_decode}

For example:

{exp:xml_decode}
<p>&#123;embed="site/index"&#125;</p>
{/exp:xml_decode}

results in:

<p>{embed="site/index"}</p>

Which, incidentally, will actually embed the site/index template inside those <p> tags, which is silly. So don’t do that.

Download MC XML Decode

EE Version Downloads Add-On Version Release Date
1.x Download 1.0.0 2010-12-28 01:00 AM

This entry was last updated December 30, 2010, 7:57 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!