hogan-express
hogan-express copied to clipboard
Custom yield tags don't work with spaces inside tag
This works:
{{#yield-styles}}
<link href="/application.css" rel="stylesheet" type="text/css">
{{/yield-styles}}
This doesn't:
{{# yield-styles }}
<link href="/application.css" rel="stylesheet" type="text/css">
{{/ yield-styles }}
Also, custom yield tags don't work with more than one hyphen
This works:
{{#yield-mycustom}}
<div>Some global div</div>
{{/yield-mycustom}}
This doesn't:
{{#yield-my-custom}}
<div>Some global div</div>
{{/yield-my-custom}}
@tybenz @learntoswim, I think this module is no longer supported, but I migrated it here: https://github.com/tandrewnichols/hogan-xpress (published as hogan-xpress
). You can verify that these issues still exist (they probably do) and open an issue there if you like.