Home | History | Annotate | Download | only in PHP-Markdown-Extra-1.2.3

Lines Matching refs:attr

408         $attr = '
428 '.$attr.' # attributes
468 '.$attr.'> # attributes followed by > and \n
478 '.$attr.'>[ ]*\n # attributes followed by >
489 '.$attr.' # attributes
1360 // markdown\s*=\s* ([\'"]) # $2 = attr quote char
2240 function _doHeaders_attr($attr) {
2241 if (empty($attr)) return "";
2242 return " id=\"$attr\"";
2248 $attr = $this->_doHeaders_attr($id =& $matches[2]);
2249 $block = "<h$level$attr>".$this->runSpanGamut($matches[1])."</h$level>";
2254 $attr = $this->_doHeaders_attr($id =& $matches[3]);
2255 $block = "<h$level$attr>".$this->runSpanGamut($matches[2])."</h$level>";
2344 if (preg_match('/^ *-+: *$/', $s)) $attr[$n] = ' align="right"';
2345 else if (preg_match('/^ *:-+: *$/', $s))$attr[$n] = ' align="center"';
2346 else if (preg_match('/^ *:-+ *$/', $s)) $attr[$n] = ' align="left"';
2347 else $attr[$n] = '';
2361 $text .= " <th$attr[$n]>".$this->runSpanGamut(trim($header))."</th>\n";
2380 $text .= " <td$attr[$n]>".$this->runSpanGamut(trim($cell))."</td>\n";
2681 $attr = " rev=\"footnote\"";
2685 $attr .= " class=\"$class\"";
2690 $attr .= " title=\"$title\"";
2704 $attr = str_replace("%%", ++$num, $attr);
2708 $backlink = "<a href=\"#fnref:$note_id\"$attr>&#8617;</a>";
2736 $attr = " rel=\"footnote\"";
2740 $attr .= " class=\"$class\"";
2745 $attr .= " title=\"$title\"";
2748 $attr = str_replace("%%", $num, $attr);
2753 "<a href=\"#fn:$node_id\"$attr>$num</a>".