OSDN Git Service

2ch.net/PukiWiki/1/188 XHTML needs '&' everywhere, not '&'
authorhenoheno <henoheno>
Fri, 6 Aug 2004 15:41:41 +0000 (00:41 +0900)
committerhenoheno <henoheno>
Fri, 6 Aug 2004 15:41:41 +0000 (00:41 +0900)
lib/func.php
lib/html.php

index c4d1574..2519d2b 100644 (file)
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: func.php,v 1.5 2004/08/02 13:17:36 henoheno Exp $
+// $Id: func.php,v 1.6 2004/08/06 15:39:52 henoheno Exp $
 //
 
 // Ê¸»úÎó¤¬InterWikiName¤«¤É¤¦¤«
@@ -222,7 +222,7 @@ function do_search($word, $type = 'AND', $non_format = FALSE)
                $r_page = rawurlencode($page);
                $s_page = htmlspecialchars($page);
                $passage = get_passage($time);
-               $retval .= " <li><a href=\"$script?cmd=read&page=$r_page&word=$r_word\">$s_page</a>$passage</li>\n";
+               $retval .= " <li><a href=\"$script?cmd=read&amp;page=$r_page&amp;word=$r_word\">$s_page</a>$passage</li>\n";
        }
        $retval .= "</ul>\n";
 
@@ -288,7 +288,7 @@ function page_list($pages, $cmd = 'read', $withfilename = FALSE)
                $s_page = htmlspecialchars($page, ENT_QUOTES);
                $passage = get_pg_passage($page);
 
-               $str = "   <li><a href=\"$script?cmd=$cmd&page=$r_page\">$s_page</a>$passage";
+               $str = "   <li><a href=\"$script?cmd=$cmd&amp;page=$r_page\">$s_page</a>$passage";
 
                if ($withfilename) {
                        $s_file = htmlspecialchars($file);
index 3216c62..d11a469 100644 (file)
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: html.php,v 1.1 2004/08/01 01:54:35 henoheno Exp $
+// $Id: html.php,v 1.2 2004/08/06 15:41:41 henoheno Exp $
 //
 
 // ËÜʸ¤ò½ÐÎÏ
@@ -202,7 +202,7 @@ EOD;
                $body .= $hr . catrule();
        } else {
                $body .=
-               "<ul><li><a href=\"$script?cmd=edit&help=true&page=$r_page\">$_msg_help</a></li></ul>";
+               "<ul><li><a href=\"$script?cmd=edit&amp;help=true&amp;page=$r_page\">$_msg_help</a></li></ul>";
        }
        return $body;
 }