Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Question title stripping out some code | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Question title stripping out some code

Question title stripping out some code

Posted: October 19, 2013 at 8:23 pm

Viewing 3 reply threads


Brittany Stone

October 19, 2013 at 8:23 pm

I’ve created a question and I want to link the question to a lightbox popup but when I save the question it strips out the bit of code I need to make it all work.

I want it to be:
[code language=”html”]Customize Your Trip [Applies to each Traveler][/code]
but it strips out the, [code language=”html”]data-lightbox=”on”[/code] and turns it into:
[code language=”html”]Customize Your Trip [Applies to each Traveler][/code]
Is there any way to fix this?

thanks

PS. even the forum strips it out…making me very sad.

  • This topic was modified 11 years, 3 months ago by Brittany Stone.
  • This topic was modified 11 years, 3 months ago by Brittany Stone. Reason: updated code
  • This topic was modified 11 years, 3 months ago by Brittany Stone.
  • This topic was modified 11 years, 3 months ago by Brittany Stone.


Dean

  • Support Staff

October 21, 2013 at 12:56 am

Hi,

It is due to security, only basic HTML is allowed to prevent XSS (Cross Site Scripting) attacks.

Is there any way you can generate the lightbox via a class or ID instead?


Brittany Stone

October 21, 2013 at 10:01 am

Yeah, I supposed. Just more jQuery/Javascript I need to write.

Thanks though.


Dean

  • Support Staff

October 22, 2013 at 12:17 am

No problem, sorry I couldnt help further.

Viewing 3 reply threads

The support post ‘Question title stripping out some code’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server