mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 08:14:33 +00:00
Making ltr default for characters.
Without this some conjoined ltr characters look weird in rtl wikis. Change-Id: I7f38a18fd0d9728f69c63abd77b095a34cffbcb2
This commit is contained in:
parent
1599128075
commit
80067e8620
|
@ -500,6 +500,11 @@ fn: {
|
|||
}
|
||||
if ( 'direction' in page ) {
|
||||
$characters.attr( 'dir', page.direction );
|
||||
} else {
|
||||
// By default it should be explicit ltr for all scripts.
|
||||
// Without this some conjoined ltr characters look
|
||||
// weird in rtl wikis.
|
||||
$characters.attr( 'dir', 'ltr' );
|
||||
}
|
||||
if ( 'characters' in page ) {
|
||||
html = '';
|
||||
|
|
Loading…
Reference in a new issue