topic descriptions from old data can be nil
This commit is contained in:
parent
48b93b2269
commit
667f5653a7
1 changed files with 2 additions and 1 deletions
|
@ -129,9 +129,10 @@ const Util = {
|
|||
}
|
||||
},
|
||||
mdToHTML: text => {
|
||||
const safeText = text || ''
|
||||
// use safe: true to filter xss
|
||||
return new HtmlRenderer({ safe: true })
|
||||
.render(new Parser().parse(text))
|
||||
.render(new Parser().parse(safeText))
|
||||
},
|
||||
logCanvasAttributes: function(canvas){
|
||||
const fakeMgraph = { canvas }
|
||||
|
|
Loading…
Reference in a new issue