Closed danshep closed 9 years ago
@danshep could you look at specs and see the reason why output fro processor is different?
It looks like a difference in the libxml c library. Runs fine on my box. Might need to pull up the knowledge as to which tags are self closing.
On Mon, 25 May 2015 10:19 pm Alex Chaplinsky notifications@github.com wrote:
@danshep https://github.com/danshep could you look at specs and see the reason why output fro processor is different?
— Reply to this email directly or view it on GitHub https://github.com/alchapone/polymer-rails/pull/43#issuecomment-105224127 .
Can you confirm that issue still exists in version 1.0.0? Because I can not reproduce it.
The escaping that nokogiri does for html attribute values is too aggressive and ends up replacing curly brackets in attribute values. Changed the way the stringify method functions to spit out elements by hand and use ruby's encode method instead to encode the attribute values.