Disallow newlines in hashtag

This commit is contained in:
Cadence Fish 2020-02-04 19:15:16 +13:00
parent eacce79dc5
commit 5024dc92af
No known key found for this signature in database
GPG Key ID: 81015DF9AA8607E1
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ let constants = {
timeline_fetch_first: 12,
username_regex: "[\\w.]+",
shortcode_regex: "[\\w-]+",
hashtag_regex: "[^ `~!@#\\$%^&*()\\-=+[\\]{};:\"',<.>/?\\\\]+"
hashtag_regex: "[^ \\n`~!@#\\$%^&*()\\-=+[\\]{};:\"',<.>/?\\\\]+"
},
resources: {