yokcel (yokcel) wrote in changelog,
yokcel
yokcel
changelog

[livejournal] r23329: LJSV-1557: Links in "Bio" section of pro...

Committer: ybuhvalova
LJSV-1557: Links in "Bio" section of profile pages and in custom sidebar text get "nofollow" attr. even for Paid users
U   trunk/bin/upgrading/s2layers/generator/layout.s2
U   trunk/bin/upgrading/s2layers/sixhtml/layout.s2
Modified: trunk/bin/upgrading/s2layers/generator/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/generator/layout.s2	2012-11-20 08:23:45 UTC (rev 23328)
+++ trunk/bin/upgrading/s2layers/generator/layout.s2	2012-11-20 08:44:57 UTC (rev 23329)
@@ -546,7 +546,7 @@
                 println """<tr><td class="meta">[</td><td class="meta" align="right"><b>$l.title</b></td><td class="meta" align="center">|</td><td class="meta">""";
                 $section_open = true;
             } else {
-                println """<a href="$l.url">$l.title</a> """;
+                println """<a href="$l.url" $l.attributes>$l.title</a> """;
             }
         }
     }

Modified: trunk/bin/upgrading/s2layers/sixhtml/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sixhtml/layout.s2	2012-11-20 08:23:45 UTC (rev 23328)
+++ trunk/bin/upgrading/s2layers/sixhtml/layout.s2	2012-11-20 08:44:57 UTC (rev 23329)
@@ -538,7 +538,7 @@
             $box_open = true;
         }
         if (not $link.is_heading and $link.title != "") {
-            $items[size $items] = """<a href="$link.url">$link.title</a>""";
+            $items[size $items] = """<a href="$link.url"  $link.attributes>$link.title</a>""";
         }
     }
     if ($box_open) {

Tags: livejournal, s2, ybuhvalova, yokcel
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments