forked from mirrors/akkoma-fe
Don't greentext MFM
This commit is contained in:
parent
8861835580
commit
a8f9734400
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue