Merge pull request #38 from blizzz/fix/ugly-links
remove empty classes which causes some link texts to be rendered ugly
This commit is contained in:
commit
3ec5066872
1 changed files with 5 additions and 1 deletions
|
@ -239,7 +239,11 @@ function parseToot (data){
|
|||
} else {
|
||||
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'] = [];
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue