commit: 39ecb338830a71c015688e7ec45e16e1151983d3
parent 0f0193130963123998d3247426f3b3c9c60f2aa2
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 3 Feb 2022 22:58:12 +0200
fix amps in links
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/rich_content/rich_content.jsx b/src/components/rich_content/rich_content.jsx
@@ -60,7 +60,7 @@ export default Vue.component('RichContent', {
// NEVER EVER TOUCH DATA INSIDE RENDER
render (h) {
// Pre-process HTML
- const { newHtml: html } = preProcessPerLine(this.html, this.greentext)
+ const { newHtml: html } = preProcessPerLine(unescape(this.html), this.greentext)
let currentMentions = null // Current chain of mentions, we group all mentions together
// This is used to recover spacing removed when parsing mentions
let lastSpacing = ''