Removing HTML support from Markdown in Time Series Visual Builder (#11770)

This commit is contained in:
Chris Cowan 2017-05-15 08:50:44 -04:00 committed by Court Ewing
parent 01e54022ad
commit 8b31d55579
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ class MarkdownEditor extends Component {
onChange={this.handleChange}/>
</div>
<div className="vis_editor__markdown-variables">
<div>The following variables can be used in the Markdown by using the Handlebar (mustache) syntax. <a href="http://handlebarsjs.com/expressions.html" target="_BLANK">Click here for documentation</a> on the available expressions. HTML is also enabled.</div>
<div>The following variables can be used in the Markdown by using the Handlebar (mustache) syntax. <a href="http://handlebarsjs.com/expressions.html" target="_BLANK">Click here for documentation</a> on the available expressions.</div>
<table className="table">
<thead>
<tr>

View file

@ -33,7 +33,7 @@ function MarkdownVisualization(props) {
</style>
<div className={contentClassName}>
<div id={`markdown-${model.id}`}>
<Markdown source={markdownSource}/>
<Markdown escapeHtml={true} source={markdownSource}/>
</div>
</div>
</div>