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