diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-18 16:01:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-18 16:01:03 +0000 |
commit | 26526d1a66b60234fa5aea218cfa0534d7234812 (patch) | |
tree | d61b23d7aae9ab843ac364bd02821f65d7d45a1f | |
parent | c3413a4bcdd680860d49134d1327fcb648f06528 (diff) | |
download | control-center-26526d1a66b60234fa5aea218cfa0534d7234812.tar control-center-26526d1a66b60234fa5aea218cfa0534d7234812.tar.gz control-center-26526d1a66b60234fa5aea218cfa0534d7234812.tar.bz2 control-center-26526d1a66b60234fa5aea218cfa0534d7234812.tar.xz control-center-26526d1a66b60234fa5aea218cfa0534d7234812.zip |
add bidi hints for html render engines
-rwxr-xr-x | control-center | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/control-center b/control-center index defba586..98e7f1da 100755 --- a/control-center +++ b/control-center @@ -1310,13 +1310,14 @@ foreach (@tree) { next if !@subtree; my $my_index = $index++; - my $string = qq(<HTML> + my $string = join("\n", qq(<HTML> <HEAD> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> p {text-align: justify} td {text-align: justify} - tr {text-align: justify} + tr {text-align: justify}), + if_(lang::text_direction_rtl(), " a { direction: rtl; unicode-bidi: embed }"), qq( a:link {color:black; text-decoration:none } a:visited {color:black; text-decoration:none } a:hover {color:blue } @@ -1325,7 +1326,7 @@ foreach (@tree) { </HEAD> <BODY><TABLE BORDER=0 cellspacing="20" > -); +)); my $view = Gtk2::Html2::View->new; my $document = Gtk2::Html2::Document->new; |