OSDN Git Service

PKWK_SAFE_MODE Prohibits not using nofollow anchor
authorhenoheno <henoheno>
Tue, 25 Jan 2005 14:18:57 +0000 (23:18 +0900)
committerhenoheno <henoheno>
Tue, 25 Jan 2005 14:18:57 +0000 (23:18 +0900)
lib/make_link.php

index 561cfbc..1e0d17c 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: make_link.php,v 1.14 2005/01/23 09:50:49 henoheno Exp $
+// $Id: make_link.php,v 1.15 2005/01/25 14:18:57 henoheno Exp $
 //
 // Hyperlink-related functions
 
@@ -360,7 +360,7 @@ EOD;
 
        function toString()
        {
-               if (PKWK_READONLY) {
+               if (! PKWK_SAFE_MODE && PKWK_READONLY) {
                        $rel = '';
                } else {
                        $rel = ' rel="nofollow"';