DEV: Update template-lint-disable in user.hbs (#20277)
Having a template-lint-disable comment with whitespace trimming was triggering a message during build, likely due to a bug in the build process. ``` unexpectedly found "! template-lint-disable ~" when slicing source, but expected " template-lint-disable " ``` This commit avoids the problem by moving the template-lint-disable comment outside of the stripped-whitespace area.
This commit is contained in:
parent
f12724b5a5
commit
605188a155
|
@ -179,9 +179,10 @@
|
|||
>{{d-icon "map-marker-alt"~}}
|
||||
{{this.model.location}}</div>{{/if}}
|
||||
{{#if this.model.website_name}}
|
||||
<div class="user-profile-website">{{d-icon "globe"~}}
|
||||
<div class="user-profile-website">
|
||||
{{! template-lint-disable link-rel-noopener }}
|
||||
{{d-icon "globe"~}}
|
||||
{{#if this.linkWebsite~}}
|
||||
{{~! template-lint-disable ~}}
|
||||
<a
|
||||
href={{this.model.website}}
|
||||
rel="noopener {{unless
|
||||
|
@ -195,6 +196,7 @@
|
|||
title={{this.model.website}}
|
||||
>{{this.model.website_name}}</span>
|
||||
{{/if}}
|
||||
{{! template-lint-enable link-rel-noopener }}
|
||||
</div>
|
||||
{{/if}}
|
||||
<span>
|
||||
|
|
Loading…
Reference in New Issue