diff --git a/src/core/components/providers/markdown.jsx b/src/core/components/providers/markdown.jsx index d058d176..7c8806b8 100644 --- a/src/core/components/providers/markdown.jsx +++ b/src/core/components/providers/markdown.jsx @@ -2,15 +2,8 @@ import React, { PropTypes } from "react" import Remarkable from "react-remarkable" import sanitize from "sanitize-html" -const sanitizeOptions = { - textFilter: function(text) { - return text - .replace(/"/g, "\"") - } -} - function Markdown({ source }) { - const sanitized = sanitize(source, sanitizeOptions) + const sanitized = sanitizer(source) return { return source ? ( ) : null})