Skip to content

@serenity-is/corelib / attrEncode

Function: attrEncode()

attrEncode(s): string

Parameters

s

any

String (or number etc.) to be HTML encoded

Returns

string

Deprecated

use htmlEncode as it also encodes quotes

Defined in

src/q/html-compat.ts:23