Solar_Markdown_Plugin_BlockQuote::_outdent()

protected string Solar_Markdown_Plugin_BlockQuote::_outdent ( string $text )

Removes one level of leading tabs or space from a text block.

Inherited from Solar_Markdown_Plugin.

Parameters

  • (string) $text: A block of text.

Returns

  • (string) The same text out-dented by one level of tabs or spaces.

Description

Removes one level of leading tabs or space from a text block.

For example, if a block of text is indented by 3 tabs, it will be returned as indented with only 2 tabs.



Local