Skip to content

Commit

Permalink
fix: docTree not show in some case
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Nov 15, 2024
1 parent 384e698 commit b08d5a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/static/OutlineItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ const adjustItemName = (name) => {
//  处理、换行符处理、::处理
let adjustedName = name
.replace(/ /g, " ")
.replace(/"/g, '"')
.replace(/&/g, "&")
.replace(/&lt;/g, "<")
.replace(/&gt;/g, ">")
.replace(/\n/g, " ")
.replace(//g, "")
.replace(/:/g, "")
Expand Down

0 comments on commit b08d5a7

Please sign in to comment.