1
0
Fork 0
mirror of https://github.com/Oreolek/raconteur.git synced 2024-06-26 03:30:47 +03:00

Fix bug introduced in last commit

This commit is contained in:
Bruno Dias 2015-04-14 01:36:36 -03:00
parent 103c2cbddf
commit 56e5bfd462

View file

@ -186,12 +186,12 @@ RaconteurSituation.prototype.act = function (character, system, action) {
},
replacer: function (ref) {
let content = that.writers[ref].fcall(that, character, system, action);
let output = markdown.renderInline(content).fade();
let output = markdown.renderInline(content).spanWrap().fade();
system.replaceWith(output, `#${ref}`);
},
inserter: function (ref) {
let content = that.writers[ref].fcall(that, character, system, action);
let output = markdown.renderInline(content).fade();
let output = markdown.renderInline(content).spanWrap().fade();
system.writeInto(output, `#${ref}`);
}
};