Skip to content

Commit

Permalink
Bugfix: Templates allow render title with tags
Browse files Browse the repository at this point in the history
  • Loading branch information
georgmaisser committed Dec 20, 2024
1 parent 193ac7c commit 8969e85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/local_wb_faq/category.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
data-module="{{module}}"
data-supplement="{{supplement}}">
{{#canedit}}
<span tabindex="0" role="button" aria-haspopup="true" data-drag-type="move" title="{{title}}">
<span tabindex="0" role="button" aria-haspopup="true" data-drag-type="move" title="{{{title}}}">
<i class="fa fa-arrows"></i>
</span>
{{/canedit}}
Expand All @@ -60,7 +60,7 @@
data-sortorder="{{sortorder}}"
data-module="{{module}}"
data-supplement="{{supplement}}">
{{title}}
{{{title}}}
</h4>
{{#canedit}}
<span class="wb_faq_edit_entry_elements">
Expand Down
4 changes: 2 additions & 2 deletions templates/local_wb_faq/entry.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@

<li class="accordion-item" data-id="{{id}}" data-sortorder="{{sortorder}}">
{{#canedit}}
<span tabindex="0" role="button" aria-haspopup="true" data-drag-type="move" title="{{title}}">
<span tabindex="0" role="button" aria-haspopup="true" data-drag-type="move" title="{{{title}}}">
<i class="fa fa-arrows"></i>
</span>
{{/canedit}}
<div class="card">
<div class="card-header p-0 border-0">
<h5 class="accordion-header m-0" id="heading-{{id}}-{{uid}}">
<button class="btn btn-link btn-block text-left collapsed wbfaqcollapsebutton d-flex lexa-h4 text-dark" type="button" data-toggle="collapse" data-target="#collapse-{{id}}-{{uid}}" aria-expanded="{{#open}}true{{/open}}{{^open}}false{{/open}}" aria-controls="collapse-{{id}}-{{uid}}">
{{title}}
{{{title}}}
{{^canedit}}
<i class="fa-solid fa-plus wbfaqaccordionbuttonp ml-auto" ></i>
<i class="fa-solid fa-minus wbfaqaccordionbuttonm ml-auto"></i>
Expand Down

0 comments on commit 8969e85

Please sign in to comment.