mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 20:07:33 -07:00
Fix bug
This commit is contained in:
parent
620451122d
commit
1c10e39ce0
1 changed files with 2 additions and 2 deletions
|
@ -44,10 +44,10 @@ export default Vue.component('mk-note-html', {
|
|||
return;
|
||||
}
|
||||
|
||||
while (
|
||||
while (ast[ast.length - 1] && (
|
||||
ast[ast.length - 1].type == 'hashtag' ||
|
||||
(ast[ast.length - 1].type == 'text' && ast[ast.length - 1].content == ' ') ||
|
||||
(ast[ast.length - 1].type == 'text' && ast[ast.length - 1].content == '\n')) {
|
||||
(ast[ast.length - 1].type == 'text' && ast[ast.length - 1].content == '\n'))) {
|
||||
ast.pop();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue