Garry's Mod Wiki

markup.Escape

  string markup.Escape( string text )

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.