bem / bem-xjst

bem-xjst (eXtensible JavaScript Templates): declarative template engine for the browser and server
https://bem.github.io/bem-xjst
Other
116 stars 48 forks source link

attrescape: Do not escape & #533

Closed tadatuta closed 6 years ago

tadatuta commented 6 years ago

Input code or something about issue background

https://goo.gl/TtGW5t

Expected Behavior

& is not escaped

Actual Behavior

& is escaped

Possible Solution

Just drop & escaping for attrs

miripiruni commented 6 years ago

Do I need fix it in v7.x/v6.x/etc or in v8.x only?

miripiruni commented 6 years ago

HTML will decode entity from URL and make request with decoded url.

miripiruni commented 6 years ago

image 2018-08-13 14 03 57