You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone,
While trying to insert accented characters in the incorrect_msg or success_msg of the <code data-type="sct"> tag, they always appear replaced by [removed] (either typing them directly or using encodeURI() which works well for the <div data-type="hint"> tag).
I found a workaround by slightly modifying the StripTagBody function in dcl-react.js.gz :
I replaced the return i || (i = c.position), "[removed]"; statement by
Same can be done in dcl-react-dev.js.gz, only param s is now called tag and we only returned var html or string "[removed]" without i || (i = c.position),
Do you think you could integrate this enhancement in the cdn hosted versions of dcl-react ?
Best regards,
Benjamin
The text was updated successfully, but these errors were encountered:
Hello everyone,
While trying to insert accented characters in the
incorrect_msg
orsuccess_msg
of the<code data-type="sct">
tag, they always appear replaced by[removed]
(either typing them directly or usingencodeURI()
which works well for the<div data-type="hint">
tag).I found a workaround by slightly modifying the
StripTagBody
function in dcl-react.js.gz :I replaced the
return i || (i = c.position), "[removed]";
statement bySame can be done in dcl-react-dev.js.gz, only param
s
is now calledtag
and we only returned varhtml
or string"[removed]"
withouti || (i = c.position),
Do you think you could integrate this enhancement in the cdn hosted versions of dcl-react ?
Best regards,
Benjamin
The text was updated successfully, but these errors were encountered: