better support for old statusnet style mentions
This commit is contained in:
parent
354f886304
commit
205d0bc40c
|
@ -773,7 +773,9 @@ function detectRTL(s) {
|
||||||
else {
|
else {
|
||||||
// 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('#');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user