https://github.com/jkolb/unamper
Pure Swift implementation of XHTML, HTML, and XML entity decoding
https://github.com/jkolb/unamper
Last synced: about 1 month ago
JSON representation
Pure Swift implementation of XHTML, HTML, and XML entity decoding
- Host: GitHub
- URL: https://github.com/jkolb/unamper
- Owner: jkolb
- License: mit
- Created: 2015-12-16T18:45:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-17T16:53:00.000Z (over 9 years ago)
- Last Synced: 2025-03-27T01:23:40.985Z (2 months ago)
- Language: Swift
- Size: 7.81 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unamper
#### XHTML, HTML, and XML Entity Decoder
let string = ""Peas & Carrots""
let unescapedString = string.unescapeEntities()
print(unescapedString) // "Peas & Carrots"