includes/wikiengine/render_xhtml.php
changeset 1112 679916c80599
parent 1106 01315acbc22b
child 1127 4b858862c35c
equal deleted inserted replaced
1111:8fae8fb3cbb1 1112:679916c80599
    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 )