Garry's Mod Wiki

markup.Escape

markup.Escape

  string markup.Escape( string text )

Just Added

This was just added in the latest version (2021.12.15). It might only be available on the Dev Branch right now.

Description

Converts a string to its escaped, markup-safe equivalent.

Arguments

1 string text
The string to sanitize.

Returns

1 string sanitizedText
The parsed markup object ready to be drawn.

Special Pages


Wikis

?

Render Time: 25ms

DB GetPage 4
Generate Html 4
SaveChanges (1) 7
Render Body 0
Render Sidebar 8