From 605188a1554b481b11285c669ba2ae6aae0d841e Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 14 Feb 2023 10:38:51 +0000 Subject: [PATCH] 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. --- app/assets/javascripts/discourse/app/templates/user.hbs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/app/templates/user.hbs b/app/assets/javascripts/discourse/app/templates/user.hbs index 824a1e906a0..297d1711c62 100644 --- a/app/assets/javascripts/discourse/app/templates/user.hbs +++ b/app/assets/javascripts/discourse/app/templates/user.hbs @@ -179,9 +179,10 @@ >{{d-icon "map-marker-alt"~}} {{this.model.location}}{{/if}} {{#if this.model.website_name}} -
{{d-icon "globe"~}} +