瀏覽代碼

fix amps in links

Henry Jameson 3 年之前
父節點
當前提交
39ecb33883
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 = ''