Page MenuHomePhabricator

PDF export extension problem with HTML tags in RTL wikis
Closed, InvalidPublic

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 Medium.Nov 21 2014, 11:53 PM
bzimport added a project: Collection.
bzimport set Reference to bz30704.
bzimport added a subscriber: Unknown Object (MLST).

(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?

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

Pppery subscribed.

Closing as obsolete - PDF export via Collection extension has been dead for years.