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