diff --git a/modules/ui/commit.js b/modules/ui/commit.js index a780a2056..7508a4be9 100644 --- a/modules/ui/commit.js +++ b/modules/ui/commit.js @@ -32,7 +32,7 @@ var readOnlyTags = [ // treat most punctuation (except -, _, +, &) as hashtag delimiters - #4398 // from https://stackoverflow.com/a/25575009 -var hashtagRegex = /(#[^\u2000-\u206F\u2E00-\u2E7F\s\\'!"#$%()*,.\/:;<=>?@\[\]^`{|}~]+)/g; +var hashtagRegex = /([##][^\u2000-\u206F\u2E00-\u2E7F\s\\'!"#$%()*,.\/:;<=>?@\[\]^`{|}~]+)/g; export function uiCommit(context) {