Solar_Markdown_Plugin::_encode()

protected string Solar_Markdown_Plugin::_encode ( string $text , bool $only_backslash = false )

Encodes special Markdown characters to they are not parsed by plugins.

Parameters

  • (string) $text: Source text.

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

Returns

  • (string) The encoded text.

Description

Encodes special Markdown characters to they are not parsed by plugins.



Local