Skip to content

Commit 2b4e263

Browse files
committed
change tag link format to :tag:tag
1 parent e55f1e0 commit 2b4e263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser/components/MarkdownPreview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ class MarkdownPreview extends React.Component {
11611161
return
11621162
}
11631163

1164-
const regexIsTagLink = /^:tag:#([\w]+)$/
1164+
const regexIsTagLink = /^:tag:([\w]+)$/
11651165
if (regexIsTagLink.test(rawHref)) {
11661166
const tag = rawHref.match(regexIsTagLink)[1]
11671167
dispatch(push(`/tags/${encodeURIComponent(tag)}`))

0 commit comments

Comments
 (0)