murex Shell Docs

Command Reference: eschtml

Encode or decodes text for HTML

Description

eschtml takes input from either STDIN or the parameters and returns the same data, HTML escaped.

!eschtml does the same process in reverse, where it takes HTML escaped data and returns its unescaped counterpart.

Usage

Escape

<stdin> -> eschtml -> <stdout>

eschtml string to escape -> <stdout>

Unescape

<stdin> -> !eschtml -> <stdout>

!eschtml string to unescape -> <stdout>

Examples

Escape

» out: "<h1>foo & bar</h1>" -> eschtml
&lt;h1&gt;foo &amp; bar&lt;/h1&gt;

Unescape

» out: '&lt;h1&gt;foo &amp; bar&lt;/h1&gt;' -> !eschtml
<h1>foo & bar</h1>

Synonyms

See Also

This site's content is rebuilt automatically from murex's source code after each merge to the master branch. Downloadable murex binaries are also built with the website.

Last built on Mon May 23 22:12:14 UTC 2022 against commit b81828ab81828a7ff621aa4b9554e6509f225a315a126fe.

Current version is 2.8.2100 BETA which has been verified against 15889 tests.