Previous Page
_toHtmlToken()

Solar_Markdown_Plugin_BlockQuote
_trimPreSpaces()

Next Page
_unHtmlToken()

_trimPreSpaces()

protected string _trimPreSpaces ( array $matches )

Trims 2 leading spaces from <pre> blocks.

Parameters

  • (array) $matches: Matches from _parse().

Returns

  • (string) The replacement text.

Description

Trims 2 leading spaces from <pre> blocks.