Closed divdavem closed 9 years ago
Issue
When using class="a-{'b'}" in a template, class="a- b" is inserted in the DOM instead of class="a-b". An unexpected space is inserted between a- and b, which is not present in the original expression. This only happens for the class attribute.
class="a-{'b'}"
class="a- b"
class="a-b"
a-
b
HSP file
<template myTemplate()> <div class="a-{'b'}" data-something="a-{'b'}">Item</div> </template> <script> exports.template = myTemplate; </script>
Plunk
Here is a plunk to reproduce this issue: http://embed.plnkr.co/yPVqWvtA4WmdNRxOawQI
Hashspace version
Tested with version fbcc30530129b8e57e466926d4dd88cd251043d1.
Issue
When using
class="a-{'b'}"
in a template,class="a- b"
is inserted in the DOM instead ofclass="a-b"
. An unexpected space is inserted betweena-
andb
, which is not present in the original expression. This only happens for the class attribute.HSP file
Plunk
Here is a plunk to reproduce this issue: http://embed.plnkr.co/yPVqWvtA4WmdNRxOawQI
Hashspace version
Tested with version fbcc30530129b8e57e466926d4dd88cd251043d1.