diff options
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 02071ec6c..3efb542de 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -622,9 +622,9 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $link['style'] = ''; //Display error on browsers other than IE $link['more'] = 'onclick="if(document.all == null){alert(\''. - $this->_xmlEntities($lang['nosmblinks'],ENT_QUOTES). + str_replace('\\\\n','\\n',addslashes($lang['nosmblinks'])). '\');}" onkeypress="if(document.all == null){alert(\''. - $this->_xmlEntities($lang['nosmblinks'],ENT_QUOTES).'\');}"'; + str_replace('\\\\n','\\n',addslashes($lang['nosmblinks'])).'\');}"'; $link['name'] = $this->_getLinkTitle($name, $url, $isImage); if ( !$isImage ) { |