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:
David Taylor 2023-02-14 10:38:51 +00:00 committed by GitHub
parent f12724b5a5
commit 605188a155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

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