Skip to content

Commit

Permalink
escape profile name
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Aug 10, 2024
1 parent 7580557 commit 43cd24c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/_profiles.tt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[% END %]
<span class="absolute top-0 left-0">[% date_format(c, p.time, "%H:%M:%S.%MILLI") %]</span>
</div>
<div class="ml-2 text-ellipsis overflow-hidden w-32" title="[% p.name %]">[% p.name %]</div>
<div class="ml-2 text-ellipsis overflow-hidden w-32" title="[% p.name | html %]">[% p.name | html %]</div>
</a>
</div>
[% END %]
Expand All @@ -23,7 +23,7 @@
[% FOREACH p = profiles %]
<div class="profiles w-[800px]"[% IF !loop.first %] style="display: none;"[% END %]>
<div class="head p-0 mb-2" [% IF profiles.size <= 1 %]style="display: none;"[% END %]>
<span class="tabs text-sm active">[% p.name %]</span>
<span class="tabs text-sm active">[% p.name | html %]</span>
</div>
[% IF p.defined("html") %]
<div class="font-mono">[% p.html %]</div>
Expand Down Expand Up @@ -90,4 +90,4 @@
}
</style>
}
</div>
</div>

0 comments on commit 43cd24c

Please sign in to comment.