mikeric / rivets

Lightweight and powerful data binding.

Home Page:http://rivetsjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passing identical data into binders and getting different results

jmmccasland-hint opened this issue · comments

Hello, I'm working on an existing Shopify store and running into some issues with our rivets.js integration.

Take the following example that lives in an rv-each loop:

<a rv-href="item.url" rv-text="item.url"></a>

One would expect the output text and href values would be identical. Unfortunately, that is not the case:
rv-text => /products/clementine-hint%C2%AE-water-1?variant=31770173505639
rv-href => href="products/clementine-hint®-water"

the rv-text is accurate and yet rv-href is not. I've tried building an absolute path and experienced a similar result.

Please help me narrow this down to either a Shopify or Rivets bug and if possible, a solution. :)

I'm happy to provide more info if necessary. Thanks!

Closing this as we discovered some unexpected behavior with a 3rd party app we were using within Shopify causing this behavior. Appreciate the hard work on rivets.js!