nsm.site_generator.ee_addon icon indicating copy to clipboard operation
nsm.site_generator.ee_addon copied to clipboard

Import bombs if one of the xml node properties contains an ampersand

Open litzinger opened this issue 13 years ago • 2 comments

I have the following node:

<entry title="Bronze & Brass" url_title="bronze-brass" status="open" versioning_enabled="y" allow_comments="n" sticky="n">

Which causes many PHP errors when trying to import the theme. Changing the & to & manually gets around the error.

litzinger avatar Nov 05 '12 19:11 litzinger

I'm guessing you're talking about encoding here. All XML needs to be encoded or you can use a CDATA block.

Did you export that entry or hand code it?

leevigraham avatar Nov 05 '12 21:11 leevigraham

Exported

litzinger avatar Nov 05 '12 22:11 litzinger