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 is rebuilt weekly, the content is automatically generated from murex's source code. Downloadable murex binaries are also built weekly.
  • Last built on Mon May 10 00:24:28 UTC 2021 against commit d988dd7d988dd786172aac33e9c7592e988c1c3c468deb6.
  • Current version is 2.1.4000 BETA which has been verified against 14514 tests.