Skip to content

Devs@IST

Devs at IST are sharing things

Tag: pdf

html_safe in pdf prawn

If you want to show a text with all html formatting html_safe doesn’t work but this line of code

ActionView::Base.full_sanitizer.sanitize(@string)

Author Stefan SCHAUERPosted on October 21, 2016Categories rubyTags pdf, prawn, ruby

Recent Posts

  • tell html to break if it wants to
  • best text editor
  • link with switched off turbolink
  • postgresql truncate tables
  • raspberry touch 7 inch rotate 90

Categories

  • editor
  • js
  • mysql
  • postgresql
  • python
  • raspberry pi
  • ruby
  • Uncategorized
  • unix

Tags

  • array
  • calendar
  • daemon
  • hash
  • helpful
  • iframe
  • js
  • linux
  • mysql
  • not
  • omxplayer
  • pagination
  • pdf
  • postgresql
  • prawn
  • python
  • rails
  • raspberrypi
  • ruby
  • ssh
  • sub!
  • touchscreen
  • unix
  • video
  • youtube-dl
Devs@IST Proudly powered by WordPress