function Markdown_Parser::doHardBreaks in Markdown 5
Same name and namespace in other branches
- 6 markdown.php \Markdown_Parser::doHardBreaks()
File
- ./
markdown.php, line 642
Class
Code
function doHardBreaks($text) {
# Do hard breaks:
return preg_replace_callback('/ {2,}\\n/', array(
&$this,
'_doHardBreaks_callback',
), $text);
}