Sfoglia il codice sorgente

Merge branch 'bug/3734-markdown-headings' into test/3715-xss-unit-tests

bubble
Owen Conti 7 anni fa
parent
commit
a5763a56cc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/core/components/providers/markdown.jsx

+ 1
- 1
src/core/components/providers/markdown.jsx Vedi File

@@ -29,7 +29,7 @@ Markdown.propTypes = {
export default Markdown

const sanitizeOptions = {
allowedTags: sanitize.defaults.allowedTags.concat([ "img" ]),
allowedTags: sanitize.defaults.allowedTags.concat([ "h1", "h2", "img" ]),
textFilter: function(text) {
return text.replace(/"/g, "\"")
}


Caricamento…
Annulla
Salva