diff --git a/src/parserutils.nim b/src/parserutils.nim
index 0e7c8b5..a605ea4 100644
--- a/src/parserutils.nim
+++ b/src/parserutils.nim
@@ -8,7 +8,7 @@ let
unRegex = re"(^|[^A-z0-9-_./?])@([A-z0-9_]{1,15})"
unReplace = "$1@$2"
- htRegex = re"(^|[^\w-_./?])([##$])([\w_]+)"
+ htRegex = re"(^|[^\w-_./?])([#$]|#)([\w_]+)"
htReplace = "$1$2$3"
type