aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsmcv <smcv@web>2014-10-23 03:57:40 -0400
committeradmin <admin@branchable.com>2014-10-23 03:57:40 -0400
commit7bccc272f9e7e45df0d6c96626b47d400d26037e (patch)
tree85654f9522e57a24e216c9ef6f473fa2e938192d /doc
parentfc5cf77d3f3f2714e4b0a8f6d377caf73c6fe82a (diff)
downloadikiwiki-7bccc272f9e7e45df0d6c96626b47d400d26037e.tar
ikiwiki-7bccc272f9e7e45df0d6c96626b47d400d26037e.tar.gz
Added a comment
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Right-to-left_support/comment_3_49f82c1d9bfb460c1a468e66c9acf97b._comment33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/forum/Right-to-left_support/comment_3_49f82c1d9bfb460c1a468e66c9acf97b._comment b/doc/forum/Right-to-left_support/comment_3_49f82c1d9bfb460c1a468e66c9acf97b._comment
new file mode 100644
index 000000000..f1e648786
--- /dev/null
+++ b/doc/forum/Right-to-left_support/comment_3_49f82c1d9bfb460c1a468e66c9acf97b._comment
@@ -0,0 +1,33 @@
+[[!comment format=mdwn
+ username="smcv"
+ ip="81.100.115.242"
+ subject="comment 3"
+ date="2014-10-23T07:57:39Z"
+ content="""
+> The Arabic pages on your wiki seem to have the Arabic in LTR, instead of the intended RTL
+
+As I said on the other forum thread, it does look to me as though it is RTL;
+the display bug is that it's left-justified (text-align: left) because the
+blueview stylesheet explicitly (and unnecessarily?) left-aligns text.
+
+You can test RTL/LTR in English by putting a distinctive directionless punctuation
+character at the beginning and end of a paragraph like this:
+
+ <p dir=\"ltr\">• This renders with a bullet on the left and an ellipsis on the right…</p>
+ <p dir=\"rtl\">• This renders with a bullet on the right and an ellipsis on the left…</p>
+
+The actual text still goes left-to-right because Latin characters are known
+to be left-to-right by the Unicode bidi algorithm, but the punctuation moves
+around, and in ikiwiki themes other than blueview and goldtype, the alignment
+changes too:
+
+<p dir=\"ltr\">• This renders with a bullet on the left and an ellipsis on the right…</p>
+<p dir=\"rtl\">• This renders with a bullet on the right and an ellipsis on the left…</p>
+
+More test-cases:
+
+* <http://actiontabs.hosted.pseudorandom.co.uk/rtl/>
+* <http://blueview.hosted.pseudorandom.co.uk/rtl/>
+* <http://goldtype.hosted.pseudorandom.co.uk/rtl/>
+* <http://unthemed.hosted.pseudorandom.co.uk/rtl/>
+"""]]