unhighlight

Parses a string and replace embedded code (code between at least 3 '-') with plaintext.

string
unhighlight
(
string str
)

Parameters

str string

A string that might contain embedded code. Only code will be modified. If the string doesn't contain any embedded code, it will be returned as is.

Return Value

Type: string

A (possibly new) string containing the embedded code inside D_CODE macros.

Meta