[JW Lua] Bug: Edit Plug-in Definition dialog needs proper escaping
Thomas Weber
thomas.weber at notengrafik.com
Fri Nov 13 16:19:51 CET 2015
Am 13.11.2015 um 15:48 schrieb Thomas Weber:
> Quotes and trailing backslashes definitely need to escaped. Question is whether other backslashes should be escaped as well. Stuff like "\n" newlines might not make a lot of sense in some fields, but that might be left to the plugin creator.
>
When there's a backslash followed by a quote, like:
\"
the backslash needs to be escaped as well, otherwise we'd again end up with an unescaped quote if we only escaped the quote. So I guess the easiest and safest thing would be to escape all quotes and backslashes with a backslash. That would however disallow newlines which might be handy for the Description field.
More information about the JWLua
mailing list