mbleigh / princely

A simple Rails wrapper for the PrinceXML PDF generation library.
http://www.mbleigh.com/plugins/princely-rails-prince-xml-wrapper
MIT License
237 stars 99 forks source link

css rule { word-break: break-all; } doesn't work in PDF #40

Closed xytian315 closed 10 years ago

xytian315 commented 10 years ago

I have some long url/text in one table cell. It will extend the margin when generating the PDF. The css rule { word-break: break-all; } doesn't work.

modsognir commented 10 years ago

It sounds like this could be a PrinceXML issue, not a Princely issue - unless it works with PrinceXML manually?

xytian315 commented 10 years ago

Yes, it is PrinceXML issue. They replied the alpha version will support word-break property. http://www.princexml.com/forum/topic/2726/cannot-make-prince-linebreak-magic-work?p=last#bot