From a592c332d7b2923669aa3705326c094388598b08 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 23 Feb 2011 11:16:10 +0100 Subject: [PATCH 1/1] #1230: german quotes in special chas --- redakcja/static/js/wiki/view_editor_wysiwyg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redakcja/static/js/wiki/view_editor_wysiwyg.js b/redakcja/static/js/wiki/view_editor_wysiwyg.js index ab0c9889..8fe8051c 100644 --- a/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -218,7 +218,7 @@ 'Τ','τ','Υ','υ','Φ','φ','Χ','χ','Ψ','ψ','Ω','ω','–', '—','¡','¿','$','¢','£','€','©','®','°','¹','²','³', '¼','½','¾','†','§','‰','•','←','↑','→','↓', - '„','”','„”','«','»','«»','’','[',']','~','|','−','·', + '„','”','„”','«','»','«»','»«','’','[',']','~','|','−','·', '×','÷','≈','≠','±','≤','≥','∈']; var tableContent = ""; @@ -257,7 +257,7 @@ // if we want to surround text with quotes // not sure if just check if value has length == 2 - if(insertVal == '„”' || insertVal == '«»'){ + if (insertVal.length) == 2) { var startTag = insertVal[0]; var endTag = insertVal[1]; var textAreaOpened = editArea; -- 2.20.1