You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! Love the library. I'm running into an issue when parsing attributes that have a hyphen in the name.
For instance parsing: <img alternative-alt="foo"> using the model img (alternative-alt | trim) receives an unexpected token "-" error. Is this by design or is there a workaround that I'm missing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey! Love the library. I'm running into an issue when parsing attributes that have a hyphen in the name.
For instance parsing:
<img alternative-alt="foo">
using the modelimg (alternative-alt | trim)
receives an unexpected token "-" error. Is this by design or is there a workaround that I'm missing?Thanks!
bsheairs
Beta Was this translation helpful? Give feedback.
All reactions