[Plugins: Enhanced Text Widget] Enhanced Text Widget erroneously puts ‘\"’ in
-
hi,
our set-up is a self-hosted (rackspace.com) multisite in wordpress 3.5.1, using a child derivative of the “sight” theme from wpshower.com and the enhanced text widget version 1.3.3.
we got the enhanced text widget because of its promise to be able to run code like htm/css/javascript, etc., within the text widget.
however, on our multisite install, if we paste in html or javascript that uses a
"
quote marks, as in —in html:
... <a href="https://google.com/" title="Link to Google" target="blank_">Link To Google</a>. ...
in javascript:
... var quotes = new Array(); quotes[0] = "first quote text example"; quotes[1] = "second quote text example"; ...
when you click save on the code inserted into the enhanced text widget, it sticks an erroneous
\
before the"
, as if it was trying to do the escape character in terminal command line in unix/linux, so the code ends up looking like this —in html:
... <a href=\"https://google.com/\" title="\Link to Google\" target=\"blank_\">Link To Google</a>. ...
in javascript:
... var quotes = new Array(); quotes[0] = \"first quote text example\"; quotes[1] = \"second quote text example\"; ...
this makes the code entirely unprocessable and we have to go back and strip out the erroneous
\
or the code will never run.any idea what is going on her and why this happening on “save” with the enhanced text widget plug-in version 1.3.3? any help would be appreciated. thank you in advance.
best,
— faddah wolf
portland, oregon, u.s.
- The topic ‘[Plugins: Enhanced Text Widget] Enhanced Text Widget erroneously puts ‘\"’ in’ is closed to new replies.