Releases: Kitura/swift-html-entities
Releases · Kitura/swift-html-entities
1.0.1
Bug fixes
- Fixed bug when unescaping named character references that contain numbers (i.e.,
¾
) - Fixed bug on Linux when unescaping strings that only contain empty-string-equivalent characters (i.e.,
"\u{200C}" == ""
istrue
on Linux butfalse
on macOS)
1.0.0
HTMLEntities 1.0
Welcome to the first release of HTMLEntities, a pure Swift tool for HTML escaping/unescaping.
Features
- Supports HTML4 named character references (
nbsp
,cent
, etc.) - Supports decimal and hexadecimal escapes for non-named characters
- Simple to use as functions are added by way of extending the default
String
class - Minimal dependencies; implementation is completely self-contained
Swift Version
HTMLEntities 1.0 runs on Swift 3.0, on both macOS and Ubuntu Linux.