Skip to content

Commit 76b49a8

Browse files
committed
#159 fixed
1 parent 28f825d commit 76b49a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenNote/openNote/services/tagService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openNote.service("tagService", function ($rootScope,storageService) {
22
var service = this;
3-
var tagRegex = /(#[^\ <]*)/ig;
3+
var tagRegex = /(?:\ |^|\n)(#[^\ <\n]*)/ig;
44

55
/**
66
* Bind handlers to the root scope

0 commit comments

Comments
 (0)