Skip to content

Commit

Permalink
fix: incorrect hash tag link
Browse files Browse the repository at this point in the history
  • Loading branch information
guqing committed Dec 10, 2024
1 parent 50d8826 commit 69a4363
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "com.github.node-gradle.node" version "5.0.0"
id "io.freefair.lombok" version "8.0.0-rc2"
id "run.halo.plugin.devtools" version "0.1.1"
id "run.halo.plugin.devtools" version "0.4.1"
id 'java'
}

Expand Down Expand Up @@ -46,7 +46,7 @@ build {
}

halo {
version = '2.17.0'
version = '2.20'
debug = true;
}

Expand Down
2 changes: 1 addition & 1 deletion console/src/extensions/tags/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const TagsExtension = Mark.create<TagOptions>({
default: null,
renderHTML(attributes) {
return {
href: `?tag=${encodeURI(attributes.tagText)}`,
href: `/moments?tag=${encodeURI(attributes.tagText)}`,
"data-pjax": "",
};
},
Expand Down

0 comments on commit 69a4363

Please sign in to comment.