diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 5c24dcb898..c2ec46a6e8 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -49,7 +49,7 @@ TLDS = ( # Original gTLDs and ccTLDs allowed_tags = ('b','blockquote','br','code','del','em','h1','h2','h3','h4','h5','h6','hr','i', 'li','ol','p','pre','strong','sub','sup','table','tbody','th','thead','td','tr','ul', - 'marquee','a','span','ruby','rp','rt','spoiler','img','lite-youtube','video','audio','g') + 'marquee','a','span','ruby','rp','rt','spoiler','img','lite-youtube','video','audio','g','u') allowed_styles = ['color', 'background-color', 'font-weight', 'text-align'] diff --git a/files/templates/formatting.html b/files/templates/formatting.html index 5948e9d6db..430899b21e 100644 --- a/files/templates/formatting.html +++ b/files/templates/formatting.html @@ -547,6 +547,15 @@ line breaks example image + + Underlined Text + + <u>fart</u> + + + fart + +