bjornbjorn / snippetssync.ee2_addon

Save snippets as files during development
http://wedoaddons.com
21 stars 8 forks source link

CRLF inside variables causes issues #16

Open robsonsobral opened 8 years ago

robsonsobral commented 8 years ago

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.