OSDN Git Service

fixed #contents tag bug
authormasui <masui>
Fri, 21 Jun 2002 10:42:40 +0000 (19:42 +0900)
committermasui <masui>
Fri, 21 Jun 2002 10:42:40 +0000 (19:42 +0900)
html.php

index 23756f9..0c641d5 100644 (file)
--- a/html.php
+++ b/html.php
@@ -1,6 +1,6 @@
 <?
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: html.php,v 1.1 2002/06/21 05:21:46 masui Exp $
+// $Id: html.php,v 1.2 2002/06/21 10:42:40 masui Exp $
 /////////////////////////////////////////////////
 
 // ËÜʸ¤ò¥Ú¡¼¥¸Ì¾¤«¤é½ÐÎÏ
@@ -118,7 +118,7 @@ function convert_html($string)
                        $level = strlen($out[1]) + 1;
                        
                        array_push($result, "<h$level><a name=\"content:$content_id\">$str</a> $top_link</h$level>");
-                       $arycontents[] = str_repeat("-",$level-1)."<a href=\"#content:$content_id\">".strip_htmltag($str)."</a>\n";
+                       $arycontents[] = str_repeat("-",$level-1)."<a href=\"#content:$content_id\">".strip_htmltag(make_user_rules($str))."</a>\n";
                        $content_id++;
                }
                else if(preg_match("/^(-{1,4})(.*)/",$line,$out))