Closed tevel closed 3 years ago
The dynamic attribute syntax is deprecated. Also with that syntax you are required to add the spacing yourself, eg ” bbb”
.
Please switch to the modern spread attribute syntax which does not have this issue. https://markojs.com/docs/syntax/#dynamic-attributes
<span ...component.model.aaa></span>
cool, thank you!
Create new component with two files:
index.marko:
<span ${component.model.aaa}></span>
component.js:
Render this component by using renderToString()
Expected results: Actual results:
"marko": "^4.23.9",
Workaround: change index.marko:
<span bugFixPleaseDontRemove ${component.model.aaa}></span>
Actual results: