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

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

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

Arguments

Example

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