Don’t normalize the text of a tag that is displayed, only normalize the content for a tag in the URL
This commit is contained in:
parent
7e626ac4e7
commit
53875f08eb
2 changed files with 5 additions and 1 deletions
|
@ -456,7 +456,7 @@ class Note extends Model
|
|||
function ($matches) {
|
||||
return '<a rel="tag" class="p-category" href="/notes/tagged/'
|
||||
. Tag::normalize($matches[1]) . '">#'
|
||||
. Tag::normalize($matches[1]) . '</a>';
|
||||
. $matches[1] . '</a>';
|
||||
},
|
||||
$text
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue