From: Robin Pepermans Date: Wed, 18 May 2011 18:03:06 +0000 (+0000) Subject: (bug 4330) External URLs should always be treated as LTR, also in RTL text (CSS fix... X-Git-Tag: 1.31.0-rc.0~30093 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=b79b9e04bde27ae99a5e1d9e298bd551cecca686;p=lhc%2Fweb%2Fwiklou.git (bug 4330) External URLs should always be treated as LTR, also in RTL text (CSS fix thanks to Amir Aharoni) --- diff --git a/skins/modern/main.css b/skins/modern/main.css index 104e73f06c..e30a396f63 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -644,7 +644,11 @@ img.thumbborder { #mw_content a.external { color: #36b; } - +/* External URLs should always be treated as LTR (bug 4330) */ +div#content .rtl a.external { + direction: ltr; + unicode-bidi: embed; +} .redirectText { diff --git a/skins/monobook/main.css b/skins/monobook/main.css index deb741009a..f35b588d56 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -576,6 +576,11 @@ table.rimage { #bodyContent a.external:active { color: #b63; } +/* External URLs should always be treated as LTR (bug 4330) */ +div#content .rtl a.external { + direction: ltr; + unicode-bidi: embed; +} /* ** Structural Elements diff --git a/skins/vector/screen.css b/skins/vector/screen.css index 5174985389..d2c14738a2 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -1135,6 +1135,11 @@ div#content a.external:visited { div#content a.external:active { color: #b63; } +/* External URLs should always be treated as LTR (bug 4330) */ +div#content .rtl a.external { + direction: ltr; + unicode-bidi: embed; +} div#content .printfooter {