Skip to content

Releases: Kitura/swift-html-entities

1.0.1

23 Sep 15:44
Compare
Choose a tag to compare

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}" == "" is true on Linux but false on macOS)

1.0.0

22 Sep 16:49
Compare
Choose a tag to compare

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.