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

@ -773,7 +773,9 @@ function detectRTL(s) {
else {
// for ltr languages we move @, ! and # to inside
$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('#');
}