elmcraft / core-extra

Utility functions for an improved experience with elm/core
https://package.elm-lang.org/packages/elmcraft/core-extra/latest/
Other
23 stars 11 forks source link

Fixed: Escape dash character #11

Closed ahankinson closed 1 year ago

ahankinson commented 1 year ago

An unescaped dash can be misinterpreted in JavaScript, so it is escaped.

This is a follow-on from https://github.com/elm-community/string-extra/pull/47, but the method of fixing it is to explicitly escape the dash, rather than moving its position.