snippetssync.ee2_addon icon indicating copy to clipboard operation
snippetssync.ee2_addon copied to clipboard

CRLF inside variables causes issues

Open robsonsobral opened this issue 9 years ago • 0 comments

Hi!

If the file is saved using CRLF line endings and there are line breaks inside eecms variables, the template parser outputs the lasts characters of the variable on the same amount as line breaks.

{exp:plugin
    parameter_1="foo"
    parameter_2="bar"
}
    {var}
{/exp:plugin}

returns:

r"
}
    parsed var

I can't fix it right now, I'm sorry.

robsonsobral avatar Dec 14 '15 16:12 robsonsobral