Variables wrapped in plugin tags appended by garbage
Hey Low - EE 2.9.0, LV 2.5.0.
I have several text variables set to parse early, which I then wrap in plugin tags in my templates. e.g.
{exp:markdown}{lv_footer_blurb}{/exp:markdown}
This worked just dandy under EE 2.8.1, but after upgrading to 2.9.0 in dev, I'm seeing this appended to my output in these circumstances.
{!--ra:00000000613a305c000000002fc18a90 --}
Strangely this only happens when I have one or more line breaks in my variables.
If I replace the variables with the exact same text between the plugin tags inside the template, the string does not appear.
This same thing happens with other plugins, not just Markdown.
Also worth noting is that the plugin formatting is being applied to this string of garbage (for example, a double-dash is being converted to an em dash).
I suspect this is some EE 2.9.0 bug, but this info may lead you to report it in a more informative fashion than I can?
Replies
Low 30 Jul 2014 16:58
I can see the behaviour, yes. And apparently, it also happens with native Snippets instead of early parsed vars, definitely making this an EE bug.
The var doesn't need to be early parsed in that case.To work around it, you can also try this syntax, if the vars in question are Textarea vars: