diff options
-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; |