Solar_Markdown::encode()

public string Solar_Markdown::encode ( string $text , bool $only_backslash = false )

Encodes special Markdown characters so they are not recognized when parsing.

Parameters

  • (string) $text: The source text.

  • (bool) $only_backslash: Only encode backslashed characters.

Returns

  • (string) The encoded text.

Description

Encodes special Markdown characters so they are not recognized when parsing.



Local