voidlabs / mosaico

Mosaico - Responsive Email Template Editor
https://mosaico.io
GNU General Public License v3.0
1.68k stars 502 forks source link

"-ko-prop-if" does not work correcty. It should remove "prop" when the condition is false while it currently set "prop: null" #661

Closed bago closed 2 years ago

bago commented 2 years ago

The issue is related to the way we deal with "virtualAttrStyle". -ko-prop-if creates a ternary value for -ko-prop, but it doesn't expect the output to be concatenated in a string.