Skip to content

Commit

Permalink
Delete whitespace within link template
Browse files Browse the repository at this point in the history
  • Loading branch information
Torgen committed Oct 1, 2024
1 parent 99ba16f commit 5b5143a
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions client/link.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<template name="link">
{{#unless target}}
{{id}}
{{else if this.editing}}
{{text}}
{{else}}
<a href="{{#if chat}}/chat{{/if}}/{{target.type}}/{{id}}" class="{{class}}" title="{{title}}">
{{#if icon}}
<i class="{{icon}}" title="{{#unless title}}{{text}}{{/unless}}"></i>
{{else}}
{{text}}
{{/if}}
</a>
{{/unless}}
</template>
<template name="link">{{
#unless target}}{{
id}}{{
else if this.editing}}{{
text}}{{
else
}}<a href="{{#if chat}}/chat{{/if}}/{{target.type}}/{{id}}" class="{{class}}" title="{{title}}">{{
#if icon
}}<i class="{{icon}}" title="{{#unless title}}{{text}}{{/unless}}"></i>{{
else}}{{
text}}{{
/if
}}</a>{{
/unless
}}</template>

0 comments on commit 5b5143a

Please sign in to comment.