Skip to content

Commit

Permalink
Tabs, not spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Feb 26, 2015
1 parent 49c9cfe commit 5b576b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Michelf/Markdown.php
Expand Up @@ -790,11 +790,11 @@ protected function _doHeaders_callback_setext($matches) {
$block = "<h$level$idAtt>".$this->runSpanGamut($matches[2])."</h$level>";
return "\n" . $this->hashBlock($block) . "\n\n";
}
protected function _doHeaders_callback_atx($matches) {
protected function _doHeaders_callback_atx($matches) {

# id attribute generation
$idAtt = is_callable($this->header_id_func) ? call_user_func($this->header_id_func, $matches[2]) : null;
if ($idAtt) $idAtt = ' id="' . htmlspecialchars($idAtt, ENT_COMPAT, 'UTF-8') . '"';
# id attribute generation
$idAtt = is_callable($this->header_id_func) ? call_user_func($this->header_id_func, $matches[2]) : null;
if ($idAtt) $idAtt = ' id="' . htmlspecialchars($idAtt, ENT_COMPAT, 'UTF-8') . '"';

$level = strlen($matches[1]);
$block = "<h$level$idAtt>".$this->runSpanGamut($matches[2])."</h$level>";
Expand Down

0 comments on commit 5b576b2

Please sign in to comment.