Previous Page
__destruct()

Solar_Markdown_Plugin_Header
_encode()

Next Page
_escape()

_encode()

protected string _encode ( string $text, bool $only_backslash default false )

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

Inherited from Solar_Markdown_Plugin.

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.