GitLab's annual major release is around the corner. Along with a lot of new and exciting features, there will be a few breaking changes. Learn more here.

Commit 354f0e31 authored by Dylan R. E. Moonfire's avatar Dylan R. E. Moonfire
Browse files

fix(markdown): do not santize input since we trust input

Removed the default `sanatize: true` because all the input is vetted by the author.

BREAKING CHANGE: HTML is no longer sanatized
parent 25f90688
Pipeline #28183936 passed with stage
in 1 minute and 44 seconds
......@@ -518,7 +518,7 @@ function renderContentMarkdown(content: ContentArgs): Promise<ContentArgs>
tables: true,
breaks: false,
pedantic: false,
sanitize: true,
sanitize: false,
smartLists: true,
smartypants: true
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment