Search code examples
ruby-on-railsrubypdf-generationprawnprawnto

Prawn html formatting


I have some simple lists and bold/italic text to format with prawn. How do I get prawn to pay attention to the html tags instead of just displaying them explicitly.

If prawn can't do this, what are my other options?


Solution

  • Inline formatting has been completely re-instated in the development version of Prawn.

    You can use the code off of the stable branch (0.9.x) for stability, or track master, where we just merged inline styling support for tables. See notes at:

    http://wiki.github.com/sandal/prawn/changelog-dev