Closed robframpton closed 11 years ago
This issue seems to be caused by commit cf4fb14 - Fix #9 Change "handler" to "on: click" for Toolbar
Before:
cssClass='<%= showConnectedRequestedIcon ? "disabled" : "disabled aui-helper-hidden" %>'
After:
cssClass='<%=' showConnectedRequestedIcon ? "disabled" : "disabled helper-hidden" %>'
Notice the extra single quotation after the opening of the scriptlet. Same thing is happening with double quotations.
<li class="<%= phone.isPrimary() ? "primary" : "" %>">
<li class="<%=" phone.isPrimary() ? "primary" : "" %>">
This appears to only happen in 'class', 'cssClass', and 'className' properties. For example.
<aui:input cssClass="<%= scriptlet %>"> <div class="<%= scriptlet %>"> <liferay-ui:ratings className="<%= scriptlet %>" />
These scriptlets would all receive the extra quotation mark.
However, the issue does not occur with the 'classPK' property.
Hey @ipeychev,
I updated the description of the issue, I narrowed it down to three properties that receive the extra quotation.
This issue seems to be caused by commit cf4fb14 - Fix #9 Change "handler" to "on: click" for Toolbar
Before:
After:
Notice the extra single quotation after the opening of the scriptlet. Same thing is happening with double quotations.
Before:
After:
This appears to only happen in 'class', 'cssClass', and 'className' properties. For example.
These scriptlets would all receive the extra quotation mark.
However, the issue does not occur with the 'classPK' property.