wolips/wolips — Issue #28: Component editor is confused by escaped backslash
Author: darkv
Created: 2011-12-20 11:38:46+00:00
State: open

If you have a binding with a text value and want a backslash to appear on the final html you have to escape that backslash with another one:

<wo:textfield value="$aValue" onkeyup="if(/^.*\\w+.*$/.test(this.value){ alert('character found'); }" />

The component editor then shows lots of errors stating "<..> start tag is not found." for all following tags that are not self-closing.