fix amps in links

This commit is contained in:
Henry Jameson 2022-02-03 22:58:12 +02:00
parent 0f01931309
commit 39ecb33883

View file

@ -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 = ''