Unverified Commit 3ec50668 authored by Dusko Angirevic's avatar Dusko Angirevic Committed by GitHub

Merge pull request #38 from blizzz/fix/ugly-links

remove empty classes which causes some link texts to be rendered ugly
parents 2cb14275 90802e50
......@@ -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'] = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment