Index: print.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/print/print.module,v
retrieving revision 1.25.2.77
diff -u -r1.25.2.77 print.module
--- print.module	13 Oct 2009 00:04:25 -0000	1.25.2.77
+++ print.module	27 Oct 2009 22:05:21 -0000
@@ -332,18 +332,17 @@
     case 'view':
       // Insert content corner links
       if (($teaser === FALSE) && isset($node->build_mode) && ($node->build_mode == NODE_BUILD_NORMAL)) {
-      $node->content['print_links'] = array(
-        '#value' => "<span class='print-link'></span>",
-        '#weight' => -101,
-      );
-      $print_html_link_pos = variable_get('print_html_link_pos', array(PRINT_HTML_LINK_POS_DEFAULT => PRINT_HTML_LINK_POS_DEFAULT));
-      if (!empty($print_html_link_pos['corner'])) {
-        $link = print_insert_link(NULL, $node);
-        if ($link) {
-          $node->content['print_links']['#value'] = preg_replace('!</span>$!', $link .'</span>', $node->content['print_links']['#value']);
+        $print_html_link_pos = variable_get('print_html_link_pos', array(PRINT_HTML_LINK_POS_DEFAULT => PRINT_HTML_LINK_POS_DEFAULT));
+        if (!empty($print_html_link_pos['corner'])) {
+          $link = print_insert_link(NULL, $node);
+          if ($link) {
+            $node->content['print_links'] = array(
+              '#value' => "<span class='print-link'>$link</span>",
+              '#weight' => -101,
+            );
+          }
         }
       }
-      }
       break;
     case 'load':
       _print_set_node_fields($node);

