README

HTML-EscapeUtils

Functionalities to escape and unescape HTML

SYNOPSIS

use HTML::EscapeUtils;

escape("<^o^>"); # => '&lt;^o^&gt;'
unescape("&lt;^o^&gt;"); #=> '<^o^>'
unescape("Foo &#xA9; bar &#x1D306; baz &#x2603; qux"); #=> 'Foo Ā© bar šŒ† baz ā˜ƒ qux'

DESCRIPTION

HTML::Escape provides functions to escape and unescape HTML's special characters.

Functions

escape(Str $raw-str) returns Str

Escapes HTML's special characters in given string.

unescape(Str $raw-str) returns Str

Unescapes HTML's special characters in given string.

COPYRIGHT AND LICENSE

Copyright 2023- demanuel <[email protected]>

This library is free software; you can redistribute it and/or modify it under the EU 1.2 public license

HTML::EscapeUtils v0.0.1

A Raku module to deal with HTML special characters

Authors

  • david santiago

License

EUPL-1.2

Dependencies

JSON::Fast

Test Dependencies

Provides

  • HTML::EscapeUtils

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.