includes/wikiengine/render_xhtml.php
changeset 1106 01315acbc22b
parent 1096 86feb1c7ca3f
child 1127 4b858862c35c
equal deleted inserted replaced
1105:0e46639fd408 1106:01315acbc22b
    18     'templates' => '',
    18     'templates' => '',
    19     'bold'   => '<strong>\\1</strong>',
    19     'bold'   => '<strong>\\1</strong>',
    20     'italic' => '<em>\\1</em>',
    20     'italic' => '<em>\\1</em>',
    21     'underline' => '<span style="text-decoration: underline;">\\1</span>',
    21     'underline' => '<span style="text-decoration: underline;">\\1</span>',
    22     'externalwithtext' => '<a href="\\1" onclick="window.open(this.href); return false;">\\2</a>',
    22     'externalwithtext' => '<a href="\\1" onclick="window.open(this.href); return false;">\\2</a>',
    23     'externalnotext' => '<a href="\\1" onclick="window.open(this.href); return false;">\\1</a>'
    23     'externalnotext' => '<a href="\\1" onclick="window.open(this.href); return false;">\\1</a>',
       
    24     'hr' => '<hr />'
    24   );
    25   );
    25   
    26   
    26   public function heading($text, $pieces)
    27   public function heading($text, $pieces)
    27   {
    28   {
    28     foreach ( $pieces as $i => $piece )
    29     foreach ( $pieces as $i => $piece )