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