better support for old statusnet style mentions

This commit is contained in:
Hannes Mannerheim 2015-06-18 00:15:44 +02:00
parent 354f886304
commit 205d0bc40c

View File

@ -774,6 +774,8 @@ function detectRTL(s) {
// for ltr languages we move @, ! and # to inside // for ltr languages we move @, ! and # to inside
$streamItem.find('.queet-text').find('.h-card.mention').prepend('@'); $streamItem.find('.queet-text').find('.h-card.mention').prepend('@');
$streamItem.find('.queet-text').find('.h-card.group').prepend('!'); $streamItem.find('.queet-text').find('.h-card.group').prepend('!');
$streamItem.find('.queet-text').find('.vcard .nickname.mention').prepend('@'); // old style
$streamItem.find('.queet-text').find('.vcard .nickname.group').prepend('!'); // old style
$streamItem.find('.queet-text').find('a[rel="tag"]').prepend('#'); $streamItem.find('.queet-text').find('a[rel="tag"]').prepend('#');
} }