[][src]Function voca_rs::strip::strip_tags

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

Strips all HTML tags from subject.

Arguments

Example

use voca_rs::*;
strip::strip_tags("<span><a href=\"#\">Summer</a> is nice</span>");
// => "Summer is nice"
use voca_rs::Voca;
"<span><a href=\"#\">Summer</a> is nice</span>"._strip_tags();
// => "Summer is nice"