Markdown: Add comment about out function override
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
This commit is contained in:
parent
2e3bdcf5c6
commit
6d2e521421
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,9 @@ export default class Markdown {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
// The default `out` function only sends the input through an XML
|
||||||
|
// escaping function, which causes messages to be entity encoded,
|
||||||
|
// which we don't want in this case.
|
||||||
renderer.out = function(s) {
|
renderer.out = function(s) {
|
||||||
this.lit(s);
|
this.lit(s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue