marked-mfm fixes: spin direction, greentext #34

Merged
floatingghost merged 9 commits from marked-mfm into develop 2022-07-15 09:59:22 +00:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit a8f9734400 - Show all commits

View File

@ -70,6 +70,11 @@ export default {
},
// NEVER EVER TOUCH DATA INSIDE RENDER
render () {
// Don't greentext MFM
if (this.mfm) {
this.greentext = false
}
// Pre-process HTML
const { newHtml: html } = preProcessPerLine(this.html, this.greentext)
let currentMentions = null // Current chain of mentions, we group all mentions together