Problem is, when I run the task the output of the first line of the template will look like this:
<div :id="groupId + \' -\' + item.id" class="accordion-item" :class="{isActiveClass: item.active}">
The nested single quotes are HTML-encoded :(
And therefore vue can't compile the template:
If I do like this the single quotes are correct in the dist folder:
I'm having this gulp task compiling vue files:
And my vue file looks like this (a lot of stuff deleted):
Problem is, when I run the task the output of the first line of the template will look like this:
<div :id="groupId + \' -\' + item.id" class="accordion-item" :class="{isActiveClass: item.active}">
The nested single quotes are HTML-encoded :(
And therefore vue can't compile the template:![image](https://user-images.githubusercontent.com/223954/94796706-6ad70980-03df-11eb-9417-0c5301328797.png)
If I do like this the single quotes are correct in the dist folder:
If I do like this the quotes are being HTML-encoded as
'
again:Any ideas what could be wrong?
Best regards, Samuel