UX: Additional protections to prevent tag nesting exploits in posts

This commit is contained in:
Kris 2018-01-23 10:34:37 -05:00
parent c3103cb23e
commit cb9524c365
1 changed files with 5 additions and 0 deletions

View File

@ -79,8 +79,13 @@
a { word-wrap: break-word; }
ins { background-color: dark-light-choose($success-low, scale-color($success, $lightness: -60%)); }
del { background-color: dark-light-choose($danger-low, scale-color($danger, $lightness: -60%)); }
// Prevents users from breaking posts with tag nesting
big { font-size: 2rem; }
small { font-size: 0.75rem; }
small small { font-size: .75em; }
big big { font-size: 1em; }
sub sub sub {bottom: 0;}
sup sup sup {top: 0;}
}
.cooked, .d-editor-preview {