remove empty classes which causes some link texts to be rendered ugly
This commit is contained in:
parent
45cecbc0ce
commit
90802e506f
1 changed files with 5 additions and 1 deletions
|
@ -239,7 +239,11 @@ function parseToot (data){
|
||||||
} else {
|
} else {
|
||||||
item = parseAccounts(item, "", data["account"])
|
item = parseAccounts(item, "", data["account"])
|
||||||
}
|
}
|
||||||
item['content'] = data['content'].replaceAll('</span><span class="invisible">', '').replaceAll('<span class="invisible">', '').replaceAll('</span><span class="ellipsis">', '');
|
item['content'] = data['content']
|
||||||
|
.replaceAll('</span><span class="invisible">', '')
|
||||||
|
.replaceAll('<span class="invisible">', '')
|
||||||
|
.replaceAll('</span><span class="ellipsis">', '')
|
||||||
|
.replaceAll('class=""', '');
|
||||||
item['attachments'] = [];
|
item['attachments'] = [];
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue