From 37933667dc869f727c947c686edd9da1572c8ca6 Mon Sep 17 00:00:00 2001 From: bnu Date: Thu, 20 Nov 2008 11:24:47 +0000 Subject: [PATCH] =?UTF-8?q?planet=20=EA=B8=80=EC=93=B0=EA=B8=B0=20?= =?UTF-8?q?=EB=AF=B8=EB=A6=AC=EB=B3=B4=EA=B8=B0=EC=97=90=20'...',=20'--'?= =?UTF-8?q?=20=EB=AC=B8=EB=B2=95=20=EC=B9=98=ED=99=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4947 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/planet/skins/xe_planet/js/planet.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/planet/skins/xe_planet/js/planet.js b/modules/planet/skins/xe_planet/js/planet.js index 23667bc9f..a0b3f05d1 100644 --- a/modules/planet/skins/xe_planet/js/planet.js +++ b/modules/planet/skins/xe_planet/js/planet.js @@ -176,6 +176,8 @@ function planetPreview(obj) { var text = obj.value; text = text.replace(//ig,'>'); + text = text.replace(/\.\.\./g, '…'); + text = text.replace(/--/g, '—'); $('preview_text').innerHTML = text.replace(/"([^"]*)":(mms|http|ftp|https)([^ ]+)/ig,'$1'); }else{ $Element('preview').addClass('off');