Skip to content

Commit

Permalink
🎨 Supports disabling Markdown syntax input for some inline elements #…
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Apr 27, 2024
1 parent 321bba6 commit b934568
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kernel/model/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -1193,6 +1193,10 @@ func convertWikiLinksAndTags0(tree *parse.Tree) {
}

func convertTags(text string) (ret string) {
if !util.MarkdownSettings.InlineTag {
return text
}

pos, i := -1, 0
tokens := []byte(text)
for ; i < len(tokens); i++ {
Expand Down

0 comments on commit b934568

Please sign in to comment.