nodebb-theme-persona 14.2.38 → 14.2.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "14.2.38",
3
+ "version": "14.2.39",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
@@ -19,13 +19,13 @@
19
19
  {{{ end }}}
20
20
  {{{ end }}}
21
21
 
22
- <a href="{url}" class="d-inline-block">
22
+ <a href="{escape(url)}" class="d-inline-block">
23
23
  <div class="alert alert-warning h-100 m-0 px-2 py-1 d-flex gap-1 align-items-center hide" id="new-topics-alert"><i class="fa fa-fw fa-rotate-right"></i>[[recent:load-new-posts]]</div>
24
24
  </a>
25
25
  </div>
26
26
  <div component="category/controls" class="d-flex gap-1">
27
27
  {{{ if !isNumber(cid) }}}
28
- <a href="{./url}" class="btn btn-sm d-flex gap-2 align-items-center" data-ajaxify="false">
28
+ <a href="{escape(./url)}" class="btn btn-sm d-flex gap-2 align-items-center" data-ajaxify="false">
29
29
  <i class="fa fa-external-link text-primary"></i>
30
30
  <span class="fw-semibold">View Original</span>
31
31
  </a>
@@ -1,11 +1,11 @@
1
- <!-- IF ../isSection -->
2
- {../name}
3
- <!-- ELSE -->
4
- <!-- IF ../link -->
5
- <a href="{../link}" itemprop="url">
6
- <!-- ELSE -->
7
- <a href="{config.relative_path}/category/{../slug}" itemprop="url">
8
- <!-- ENDIF ../link -->
9
- {../name}
10
- </a>
1
+ <!-- IF ../isSection -->
2
+ {../name}
3
+ <!-- ELSE -->
4
+ <!-- IF ../link -->
5
+ <a href="{../link}" itemprop="url">
6
+ <!-- ELSE -->
7
+ <a href="{config.relative_path}/category/{../slug}" itemprop="url">
8
+ <!-- ENDIF ../link -->
9
+ {../name}
10
+ </a>
11
11
  <!-- ENDIF ../isSection -->