Browse Source
Merge pull request #529 from LainLayer/master
Fix bio encoding issue
pull/531/head
Zed
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/parserutils.nim
|
|
@ -8,7 +8,7 @@ let |
|
|
|
unRegex = re"(^|[^A-z0-9-_./?])@([A-z0-9_]{1,15})" |
|
|
|
unReplace = "$1<a href=\"/$2\">@$2</a>" |
|
|
|
|
|
|
|
htRegex = re"(^|[^\w-_./?])([##$])([\w_]+)" |
|
|
|
htRegex = re"(^|[^\w-_./?])([#$]|#)([\w_]+)" |
|
|
|
htReplace = "$1<a href=\"/search?q=%23$3\">$2$3</a>" |
|
|
|
|
|
|
|
type |
|
|
|