Index: V:\public_html\rbh\sites\all\modules\print\print.module --- V:\public_html\rbh\sites\all\modules\print\print.module +++ V:\public_html\rbh\sites\all\modules\print\print.module (unsaved) @@ -332,16 +332,16 @@ 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' => "", + '#prefix' => '', + '#value' => '', + '#suffix' => '', '#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('!$!', $link .'', $node->content['print_links']['#value']); - } + $node->content['print_links']['#value'] .= print_insert_link(NULL, $node); } } break;