We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28f825d commit 76b49a8Copy full SHA for 76b49a8
OpenNote/openNote/services/tagService.js
@@ -1,6 +1,6 @@
1
openNote.service("tagService", function ($rootScope,storageService) {
2
var service = this;
3
- var tagRegex = /(#[^\ <]*)/ig;
+ var tagRegex = /(?:\ |^|\n)(#[^\ <\n]*)/ig;
4
5
/**
6
* Bind handlers to the root scope
0 commit comments