https://github.com/strawmelonjuice/odysseus
UN-escaping HTML
https://github.com/strawmelonjuice/odysseus
Last synced: 3 months ago
JSON representation
UN-escaping HTML
- Host: GitHub
- URL: https://github.com/strawmelonjuice/odysseus
- Owner: strawmelonjuice
- License: apache-2.0
- Created: 2025-05-23T21:29:05.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-05-24T14:49:16.000Z (4 months ago)
- Last Synced: 2025-05-31T08:44:05.475Z (4 months ago)
- Language: Erlang
- Homepage: https://hexdocs.pm/odysseus
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gleam - odysseus - [📚](https://hexdocs.pm/odysseus/) - UN-escaping HTML (Packages / HTML)
README
# odysseus
[](https://hex.pm/packages/odysseus)
[](https://hexdocs.pm/odysseus/)[Houdini](https://hexdocs.pm/houdini/) was a master of escaping, odysseus bound himself to his ship to
survive the sirens... thereby being a master of _unescaping_, I guess.```sh
gleam add odysseus@1
``````gleam
import odysseus
import houdinipub fn main() -> Nil {
// Escaped String
let escaped_string = houdini.escape("My milkshake brings all the boys to the yard...
")
// Escaped Sting
let escaped_sting = houdini.escape("I don't drink coffee, I'll take tea my dear
I like my toast done on one side
And you can hear it in my accent when I talk
I'm an Englishman in New York")// Now, time to unescape them to get the originals!
let unescaped_string = odysseus.unescape(escaped_string)
let caught_sting = odysseus.unescape(escaped_sting)
}
```Further documentation can be found at .
## Development
```sh
gleam run # Run the project
gleam test # Run the tests
```