]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix nofollow in farkup
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sun, 8 Mar 2009 02:02:57 +0000 (20:02 -0600)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sun, 8 Mar 2009 02:02:57 +0000 (20:02 -0600)
basis/farkup/farkup.factor

index 50ee938659f41fe2638ab450786af1b548f64c3c..6e41461c8d61ae23e05ec5ff3cc884409bf6e1d9 100755 (executable)
@@ -169,8 +169,8 @@ CONSTANT: invalid-url "javascript:alert('Invalid URL in farkup');"
     } cond url-encode ;
 
 : write-link ( href text -- xml )
-    [ check-url link-no-follow? get "true" and ] dip
-    [XML <a href=<-> nofollow=<->><-></a> XML] ;
+    [ check-url link-no-follow? get "nofollow" and ] dip
+    [XML <a href=<-> rel=<->><-></a> XML] ;
 
 : write-image-link ( href text -- xml )
     disable-images? get [