From 2c9aed94d829091ae6cb400978eba1e5d72b9040 Mon Sep 17 00:00:00 2001 From: cel Date: Sat, 19 May 2018 15:45:59 -0400 Subject: Render markdown in mutual/credit memo --- lib/render-msg.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/render-msg.js') diff --git a/lib/render-msg.js b/lib/render-msg.js index daa61b0..50dc6de 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -1005,7 +1005,9 @@ RenderMsg.prototype.mutualCredit = function (cb) { currency[0] === '#' ? h('a', {href: self.toUrl(currency)}, currency) : h('ins', currency), - self.c.memo ? [' for ', h('q', String(self.c.memo))] : '' + self.c.memo ? [' for ', + h('q', {innerHTML: unwrapP(self.render.markdown(self.c.memo))}) + ] : '' ], cb) }) } -- cgit v1.2.3