diff --git a/files/helpers/regex.py b/files/helpers/regex.py index 180546140a..870908de36 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -90,7 +90,7 @@ ascii_only_regex = re.compile("[ -~]+", flags=re.A) reddit_to_vreddit_regex = re.compile('(^|>|")https:\/\/old.reddit.com\/(r|u)\/', flags=re.A) -reddit_domain_regex = re.compile("(^|\s|\()https?:\/\/(reddit\.com|new\.reddit.com|www\.reddit.com|i\.reddit\.com|libredd\.it|teddit\.net)\/(r|u)\/", flags=re.A) +reddit_domain_regex = re.compile("(^|\s|\()https?:\/\/(reddit\.com|new\.reddit.com|np\.reddit.com|www\.reddit.com|i\.reddit\.com|libredd\.it|teddit\.net)\/(r|u)\/", flags=re.A) color_regex = re.compile("[a-z0-9]{6}", flags=re.A) @@ -111,7 +111,7 @@ def sub_matcher(match, upper=False): return match.group(0) else: repl = SLURS[match.group(0).lower()] - return repl if not upper else repl.upper() + return repl if not upper or " +
+
+ +
+
+
hats banner
Number of hats you bought: {{v.num_of_owned_hats}}
diff --git a/files/templates/shop.html b/files/templates/shop.html index 6f34e51930..1192a60f8b 100644 --- a/files/templates/shop.html +++ b/files/templates/shop.html @@ -19,8 +19,37 @@ width: 80%; } } + + .shop-tab { + display: inline-flex; + max-width: 46.6%; + letter-spacing: 3px; + } + + .shop-tab.active { + background-color: var(--primary) !important; + pointer-events: none !important; + cursor: default !important; + } +
+
+ +
+
+
shop banner

{{SHOP_FLAVOR}} Earn coins.

@@ -31,8 +60,6 @@ {% if FEATURES['PROCOINS'] %}
Your current marseybux: {{"{:,}".format(v.procoins)}}
{% endif %} - -
Buy hats here!
{% endblock %}