Don't allow H1 tags to be used

These should be for the page title only
This commit is contained in:
Jake Howard 2022-07-04 09:28:09 +01:00
parent bb8ef22bfd
commit 66ccd52b15
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 2882 additions and 1 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -13,7 +13,6 @@ from website.common.utils import HEADER_TAGS
from website.contrib.code_block.blocks import CodeBlock from website.contrib.code_block.blocks import CodeBlock
RICH_TEXT_FEATURES = [ RICH_TEXT_FEATURES = [
"h1",
"h2", "h2",
"h3", "h3",
"h4", "h4",