Is there a a reason Wappler’s UI does not escape single quotes when adding the following code using data bindings in dynamic attributes:
<td dmx-html="description+' for '+firstName+'<br/><strong>'+name" + '</strong>'></td>
Is there a a reason Wappler’s UI does not escape single quotes when adding the following code using data bindings in dynamic attributes:
<td dmx-html="description+' for '+firstName+'<br/><strong>'+name" + '</strong>'></td>
Single quotes are not escaped. What is the exact expression you want to add in an dmx-html attribute? Paste it here please, don’t post screenshots of the code.
description+' for '+firstName+'<br/><strong>'+name
So what’s the issue with this whole code:
<div dmx-html="description+' for '+firstName+'<br/><strong>'+name"></div>
I tested it locally and it works fine.
Code works, but it shows error on editor as you see in screenshot and it may or may not affect my app structure view since there are conditional sections further down that do not display in my app structure section.
I thought this might be the cause.
Page works fine and code works fine. The error and potential issue it might cause is just annoying.
But if I can’t do anything about it, I can’t do anything about it, then all is fine. Thanks @Teodor
there’s just an error in this code… your closing "
on the wrong place… before the + '</strong>'
part.
aahh!! Thanks!