Making ltr default for characters.

Without this some conjoined ltr characters look weird in rtl wikis.

Change-Id: I7f38a18fd0d9728f69c63abd77b095a34cffbcb2
This commit is contained in:
Amir E. Aharoni 2012-05-20 23:27:06 +03:00
parent 1599128075
commit 80067e8620

View file

@ -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 = '';