From bcf35bf2fdbe2df2539bcf6a64f1f6c1f1949f65 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 7 Nov 2021 23:00:37 +0200 Subject: [PATCH] fdfd --- files/helpers/sanitize.py | 2 +- files/templates/formatting.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index e2c40b5cd..484d71941 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -81,7 +81,7 @@ def sanitize_marquee(tag, name, value): if name in ['width', 'height']: try: value = int(value) except: return False - if 0 < value <= 200: return True + if 0 < value <= 500: return True return False diff --git a/files/templates/formatting.html b/files/templates/formatting.html index 39c7d4f3e..610fb7599 100644 --- a/files/templates/formatting.html +++ b/files/templates/formatting.html @@ -419,12 +419,12 @@ line breaks Marquee - <marquee width="60%" direction="up" height="100px"> + <marquee direction="up" scrollamount="10" behavior="scroll" height="100" width="60"> This is a sample scrolling text that has scrolls in the upper direction. </marquee> - + This is a sample scrolling text that has scrolls in the upper direction.