Browse Source

fix amps in links

Henry Jameson 3 years ago
parent
commit
39ecb33883
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/rich_content/rich_content.jsx

+ 1 - 1
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 = ''