Posted: July 24, 2012 at 1:44 pm
When I use the short code The output of the code is :
If you notice on line 7, the shortcode produces this line: The p tag doesn’t get closed, thus causing the site to break. Which file do I need to edit to fix this? Thank you very much, Vlad
| |
Which version number of Event Espresso, Vlad? | |
Josh, I am using version 3.1.25.P | |
Can you try reposting the shortcode you have set up? It got eaten by the forum software. | |
Here is the screenshot of the shortcode: http://cl.ly/image/0E2E1q1m1e0A
| |
Open up /includes/shortcodes.php and change line 703 to read:
I’m curious though, which browser was this tested on? Usually there’s a bit of fault tolerance on the browser’s part where a missing > will not break a layout. | |
I’m cross browser testing. I want to make sure that even if the browser tolerates it, it still correct and passes the validity test. Thanks a lot for your help, Josh! | |
The support post ‘[ESPRESSO_EVENT] Generates invalid code. Where can I make the fix?’ 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.