OSDN Git Service

livePreview ok
[pybbs/pybbs.git] / index.py
index 87cbaff..2bf6984 100755 (executable)
--- a/index.py
+++ b/index.py
@@ -150,7 +150,7 @@ class RegistHandler(tornado.web.RequestHandler):
                 line = line.replace(' ',' ',1)
             text = text+'<p>'+self.link(line)+'<br></p>'
         if url:
-            text = text+'検出されたurl:<a class=livepreview href={0}>{0}</a>'.format(url)
+            text = text+'検出されたurl:<a class=livepreview target=_blank href={0}>{0}</a>'.format(url)
         pw = self.get_argument('password')
         if i == 0:
             error = error + u'本文がありません.'