alanshaw / alanshaw/grunt-include-replace
Argument of include can't have linebreak
- Langage dominant
- JavaScript
- Étoiles
- 199
- Forks
- 43
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Now this is serious trouble for me.
What i mean is that:
```
@@include('templates/main_heading.tpl.html', {
"subheader": "Subheader introduction",
})
```
pass ok
```
@@include('templates/main_heading.tpl.html', {
"subheader": "
Subheader introduction
test test test
",
})
```
is not!
got:
Warning: Unexpected token
Use --force to continue.
This is superimportant, since you can do stuff like that even:
```
@@include('templates/main_heading.tpl.html', {
"content": "
thiis is my supadupa haeding
",
})
```
And everything passes perfectly good except linebreaks :\
I really hope it's fixeable (seem to be regex issue that can be overcome)
If anybody can post solution immideately (before | if at all) it would be fixed with new release i would love to see it)
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.