function Markdown_Parser::outdent in Markdown 5
Same name and namespace in other branches
- 6 markdown.php \Markdown_Parser::outdent()
4 calls to Markdown_Parser::outdent()
File
- ./
markdown.php, line 1566
Class
Code
function outdent($text) {
#
# Remove one level of line-leading tabs or spaces
#
return preg_replace('/^(\\t|[ ]{1,' . $this->tab_width . '})/m', '', $text);
}