Nokogiri options not passed to Builder #150

aiwilliams opened this Issue Jun 6, 2012 · 1 comment


None yet

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 May 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment