Functions:strip tags

Aus Dwoo Docs

Wechseln zu: Navigation, Suche

Removes all html tags

strip_tags(string $value, [ bool $addspace = true ])
  • value : the string to process
  • addspace : if true, a space is added in place of every removed tag




Example:

{strip_tags "foo<strong>bold</strong>bar"}
{strip_tags "foo<strong>bold</strong>bar" false}

Output:

foo bold bar
fooboldbar
Persönliche Werkzeuge
templates
page language

Englisch

The article you want to access doesn't exist in Deutsch.
Französisch
The article you want to access doesn't exist in Deutsch.
Russian
The article you want to access doesn't exist in Deutsch.