upd: remove collapsed mentions
Glitchy/Broken CSS - Won't get any fixes by free so it is best to just undo the change Closes #279 Closes #278
This commit is contained in:
parent
8d28c16ee1
commit
265bcf54b0
2 changed files with 1 additions and 49 deletions
|
|
@ -88,13 +88,7 @@ export default function(props: MfmProps, context: SetupContext<MfmEvents>) {
|
|||
res.push(t);
|
||||
}
|
||||
res.shift();
|
||||
|
||||
// Don't wrap whitespaces in a span
|
||||
if (text === ' ') {
|
||||
return res;
|
||||
}
|
||||
|
||||
return h('span', res);
|
||||
return res;
|
||||
} else {
|
||||
return [text.replace(/\n/g, ' ')];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue