diff --git a/app/assets/javascripts/discourse/app/components/plugin-outlet.hbs b/app/assets/javascripts/discourse/app/components/plugin-outlet.hbs index 496e6a6a682..fd84c55acb4 100644 --- a/app/assets/javascripts/discourse/app/components/plugin-outlet.hbs +++ b/app/assets/javascripts/discourse/app/components/plugin-outlet.hbs @@ -1,15 +1,15 @@ -{{#if @tagName}} +{{~#if @tagName~}} {{! Older outlets have a wrapper tagName. RFC0389 proposes an interface for dynamic tag names, which we may want to use in future. But for now, this classic component wrapper takes care of the tagName. }} - {{#each (this.getConnectors) as |c|}} - {{#if c.componentClass}} + {{~#each (this.getConnectors) as |c|~}} + {{~#if c.componentClass~}} - {{else if @defaultGlimmer}} + {{~else if @defaultGlimmer~}} - {{else}} + {{~else~}} - {{/if}} - {{/each}} + {{~/if~}} + {{~/each~}} -{{else if (this.connectorsExist hasBlock=(has-block))}} - {{! The modern path: no wrapper element = no classic component }} +{{~else if (this.connectorsExist hasBlock=(has-block))~}} + {{~! The modern path: no wrapper element = no classic component ~}} - {{#if (has-block)}} + {{~#if (has-block)~}} - {{/if}} + {{~/if~}} - {{#each (this.getConnectors hasBlock=(has-block)) as |c|}} - {{#if c.componentClass}} + {{~#each (this.getConnectors hasBlock=(has-block)) as |c|~}} + {{~#if c.componentClass~}} {{yield}} - {{else if @defaultGlimmer}} + {{~else if @defaultGlimmer~}} {{yield}} - {{else}} + {{~else~}} {{yield}} - {{/if}} - {{else}} + {{~/if~}} + {{~else~}} {{yield}} - {{/each}} + {{~/each~}} - {{#if (has-block)}} + {{~#if (has-block)~}} - {{/if}} -{{else}} + {{~/if~}} +{{~else~}} {{yield}} -{{/if}} \ No newline at end of file +{{~/if~}} \ No newline at end of file diff --git a/app/assets/javascripts/discourse/app/components/topic-list/topic-link.gjs b/app/assets/javascripts/discourse/app/components/topic-list/topic-link.gjs index 3c8ccfe7dab..2033c31d806 100644 --- a/app/assets/javascripts/discourse/app/components/topic-list/topic-link.gjs +++ b/app/assets/javascripts/discourse/app/components/topic-list/topic-link.gjs @@ -9,6 +9,7 @@ export default class TopicLink extends Component { } } diff --git a/app/assets/javascripts/discourse/app/components/topic-list/topic-list-item.gjs b/app/assets/javascripts/discourse/app/components/topic-list/topic-list-item.gjs index 8424ea20b7e..238fcf8815d 100644 --- a/app/assets/javascripts/discourse/app/components/topic-list/topic-list-item.gjs +++ b/app/assets/javascripts/discourse/app/components/topic-list/topic-list-item.gjs @@ -300,14 +300,13 @@ export default class TopicListItem extends Component { - {{! no whitespace - }}{{! no whitespace - }}{{! no whitespace - }} + {{~! no whitespace ~}} + + {{~! no whitespace ~}} + + {{~! no whitespace ~}} + {{! no whitespace - }} + + {{~! no whitespace ~}} -