use model observer to manage tagging of notes

This commit is contained in:
Jonny Barnes 2017-11-09 11:31:17 +00:00
parent 14cba19903
commit 467b607774
3 changed files with 79 additions and 17 deletions

View file

@ -462,7 +462,7 @@ class Note extends Model
$name = str_replace('#', '', $name);
$replacements[$name] =
'<a rel="tag" class="p-category" href="/notes/tagged/'
. Tag::normalizeTag($name)
. Tag::normalize($name)
. '">#'
. $name
. '</a>';