hogan-express icon indicating copy to clipboard operation
hogan-express copied to clipboard

Custom yield tags don't work with spaces inside tag

Open tybenz opened this issue 10 years ago • 2 comments

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 }}

tybenz avatar Jun 04 '14 16:06 tybenz

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}}

learntoswim avatar Sep 22 '14 23:09 learntoswim

@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.

tandrewnichols avatar Jul 18 '17 00:07 tandrewnichols