puzzle / prawn-markup

Parse simple HTML markup to include in Prawn PDFs
MIT License
65 stars 16 forks source link

Action text to_s showing Nokogiri Parser #17

Closed timmyd87 closed 3 years ago

timmyd87 commented 3 years ago

Hey team,

love how simple this is to use. I have a question. Converting action text to a string and using the markup function im getting

'#' Printing on the PDF, as in rendering below the markedup text.

text "#{ markup(res.notes.to_s) }" is what i've written in my PDF doc. Without 'markup' it shows the HTML. Should i not use the to_string command? What is your recommendation?