You are here

function MarkdownExtra_Parser::_doHeaders_attr in Markdown 5

2 calls to MarkdownExtra_Parser::_doHeaders_attr()
MarkdownExtra_Parser::_doHeaders_callback_atx in ./markdown.php
MarkdownExtra_Parser::_doHeaders_callback_setext in ./markdown.php

File

./markdown.php, line 2225

Class

MarkdownExtra_Parser

Code

function _doHeaders_attr($attr) {
  if (empty($attr)) {
    return "";
  }
  return " id=\"{$attr}\"";
}