Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 426 Bytes

htmlEncode.md

File metadata and controls

23 lines (12 loc) · 426 Bytes

@serenity-is/corelib / htmlEncode

Function: htmlEncode()

htmlEncode(s): string

Html encodes a string (encodes single and double quotes, & (ampersand), > and < characters)

Parameters

s

any

String (or number etc.) to be HTML encoded

Returns

string

Defined in

src/base/html.ts:19