class Liquid::Filters::StripHtml

Overview

strip_html

Removes any HTML tags from a string.

Input {% capture string_with_html %} Have you read Ulysses? {% endcapture %}

{{ string_with_html | strip_html }}

Output Have you read Ulysses?

Extended Modules

Defined in:

liquid/filters/strip_html.cr

Class Method Summary

Class Method Detail

def self.filter(data : Any, args : Array(Any) | Nil = nil) : Any #

[View source]