Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Nokogiri options not passed to Builder #150

aiwilliams opened this Issue · 1 comment

2 participants


Is there a reason this is the case? I would like to send the :encoding option to the Nokogiri::XML::Builder initializer.


The reason for this is that the call to is inlined and compiled so there's no easy way to send options there. You can however pass in a local variable called xml and Tilt will use that object:

tmpl ='index.nokogiri')
tmpl.render(, :xml => => …))
@judofyr judofyr closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.