Closed (fixed)
Project:
Shortcode
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
27 Jun 2012 at 00:16 UTC
Updated:
25 Sep 2012 at 06:02 UTC
I am using shortcode with a wysiwyg editor (ckeditor). Ckeditor likes to randomly insert " entities instead of actual " characters. So when you create a shortcode in the wysiwyg it has a hard time parsing the attributes. I resolved this by adding the following to the _shortcode_parse_attrs function (right after the preg_replace).
$text = html_entity_decode($text);
If this won't have any adverse effects, please consider adding it to the module.
Comments
Comment #1
denes.szabo commentedI will check it!
Comment #2
denes.szabo commentedI added the code you provided to the module. Thx!