mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-08 09:29:10 +00:00
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