nodebb-theme-harmony 2.0.0-pre.20 → 2.0.0-pre.22

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-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "2.0.0-pre.20",
3
+ "version": "2.0.0-pre.22",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "nodebb-theme-harmony",
9
- "version": "2.0.0-pre.20",
9
+ "version": "2.0.0-pre.22",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@fontsource/inter": "5.0.15",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "2.0.0-pre.20",
3
+ "version": "2.0.0-pre.22",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.7.0"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  <li component="post" class="posts-list-item {{{ if ./deleted }}} deleted{{{ else }}}{{{ if ./topic.deleted }}} deleted{{{ end }}}{{{ end }}}{{{ if ./topic.scheduled }}} scheduled{{{ end }}}" data-pid="{./pid}" data-uid="{./uid}">
2
2
  <hr/>
3
- <a class="topic-title fw-semibold fs-5 mb-2 text-reset text-break d-block" href="{./url}">
3
+ <a class="topic-title fw-semibold fs-5 mb-2 text-reset text-break d-block" href="{config.relative_path}/post/{encodeURIComponent(./pid)}">
4
4
  {{{ if ./isMainPost }}}<i class="fa fa-book text-muted" title="[[topic:topic]]"></i> {{{ end }}}{./topic.title}
5
5
  </a>
6
6
 
@@ -17,7 +17,7 @@
17
17
  {{{ each posts }}}
18
18
  <hr/>
19
19
  <div class="topic-row mb-3">
20
- <a class="topic-title fw-semibold fs-5 text-reset text-break" href="{config.relative_path}/post/{./pid}">
20
+ <a class="topic-title fw-semibold fs-5 text-reset text-break" href="{config.relative_path}/post/{encodeURIComponent(./pid)}">
21
21
  {{{ if !./isMainPost }}}RE: {{{ end }}}{./topic.title}
22
22
  </a>
23
23
  <div class="post-body d-flex flex-column gap-1">