aboutsummaryrefslogtreecommitdiff
path: root/src/components/rich_content
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-02-03 23:13:28 +0200
committerHenry Jameson <me@hjkos.com>2022-02-03 23:13:28 +0200
commit571e73a346996f1bcdecb6545b44351a65fee3cb (patch)
treed3a828523028158b4c0502dd0678be10acbca79d /src/components/rich_content
parent39ecb338830a71c015688e7ec45e16e1151983d3 (diff)
better approach to unescaping
Diffstat (limited to 'src/components/rich_content')
-rw-r--r--src/components/rich_content/rich_content.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/rich_content/rich_content.jsx b/src/components/rich_content/rich_content.jsx
index 8ebabad7..46bc661a 100644
--- 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(unescape(this.html), this.greentext)
+ const { newHtml: html } = preProcessPerLine(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 = ''