Page MenuHomePhabricator

PDF export extension problem with HTML tags in RTL wikis
Open, NormalPublic

Description

PDF Export extension doesnt support correctly HTML in RTL wikis
1-<small></small> #characters change their places
2-<sup></sup> #characters change their places
3-<sub></sub> #characters change their places
4-<code></code> #it doesn't have LTR direction
5-<big></big> #characters change their places
6-<span style="direction:ltr; unicode-bidi:embed;"></span> #it doesn't work

http://fa.wikipedia.org/wiki/%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1:Reza1615/pdf3

maybe it is useful
http://www.w3.org/International/tutorials/bidi-xhtml/


Version: unspecified
Severity: normal

Details

Reference
bz30704

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 11:53 PM
bzimport added a project: Collection.
bzimport set Reference to bz30704.
bzimport added a subscriber: Unknown Object (MLST).
Yamaha5 created this task.Sep 2 2011, 4:03 PM

(In reply to comment #0)

http://fa.wikipedia.org/wiki/%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1:Reza1615/pdf3

Ah pity, that testcase is gone now. Is there any Wikipedia article (URL?) where I can see these issues in its resulting PDF file?

Huji added a comment.Apr 15 2013, 7:27 PM

http://fa.wikipedia.org/wiki/User:Huji/30704 contains the same test page. I will make sure this one stays alive until the bug is fixed.

Created attachment 12115
PDF output file

Thanks! I'm attaching the PDF output here for convenience.

Attached:

(In reply to Nemo from comment #4)

Is it any better now?
https://fa.wikipedia.org/w/index.php?title=%D9%88%DB%8C%DA%98%D9%87:
%DA%A9%D8%AA%D8%A7%D8%A8&bookcmd=render_article&arttitle=%DA%A9%D8%A7%D8%B1%D
8%A8%D8%B1%3AHuji%2F30704&oldid=10122235&writer=rdf2latex

No! The bugs are the same as before

Restricted Application added a project: I18n. · View Herald TranscriptJun 2 2015, 2:20 PM
Ebraminio moved this task from Backlog to PDF on the RTL board.Aug 9 2015, 11:23 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 9 2015, 11:23 AM
Meno25 removed a subscriber: Meno25.Feb 8 2016, 7:46 PM
Amire80 moved this task from Untriaged to RTL on the I18n board.Feb 28 2018, 12:11 PM