[][src]Function voca_rs::escape::unescape_html

pub fn unescape_html(subject: &str) -> String

Unescapes HTML special characters from < > & " ' ` to corresponding < > & " ' insubject`.

Arguments

  • subject - The string to unescape.

Example

use voca_rs::*;
escape::unescape_html("&lt;p&gt;wonderful world&lt;/p&gt;");
// => <p>wonderful world</p>