Skip to content

containsHtml

Overview

Tests whether a string contains any HTML tags.

Signature

containsHtml(message)

Parameters

NameTypeRequiredDescription
messagestringyesThe string to test.

Returns

boolean

True if the string contains HTML tags.

Source

client/lib/utils/html.js:61

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2