function Markdown_Parser::makeCodeSpan in Markdown 5
Same name and namespace in other branches
- 6 markdown.php \Markdown_Parser::makeCodeSpan()
1 call to Markdown_Parser::makeCodeSpan()
File
- ./
markdown.php, line 1105
Class
Code
function makeCodeSpan($code) {
#
# Create a code span markup for $code. Called from handleSpanToken.
#
$code = htmlspecialchars(trim($code), ENT_NOQUOTES);
return $this
->hashPart("<code>{$code}</code>");
}