Explorar o código

Merge pull request #529 from LainLayer/master

Fix bio encoding issue
Zed %!s(int64=4) %!d(string=hai) anos
pai
achega
535f6936b9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/parserutils.nim

+ 1 - 1
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