OSDN Git Service

検出URLがいつの間にか左揃えで書き出されることに気づく
authoryamat0jp <terukohietori@gmail.com>
Mon, 10 Feb 2020 02:05:33 +0000 (11:05 +0900)
committeryamat0jp <terukohietori@gmail.com>
Mon, 10 Feb 2020 02:05:33 +0000 (11:05 +0900)
pybbs.py

index a2cd5bd..d728d68 100644 (file)
--- a/pybbs.py
+++ b/pybbs.py
@@ -240,7 +240,7 @@ class RegistHandler(IndexHandler):
         for x in url:
             s = s+'<tr><td><a href={0} class=livepreview target=_blank>{0}</a></td></tr>'.format(x)
         if s != '':
-            text = text+'<table><tr><td>検出url:</td></tr>'+s+'</table>'
+            text = text+'<table align=center><tr><td>検出url:</td></tr>'+s+'</table>'
         pw = self.get_argument('password')
         if i > 1000:
             error += u'文字数が1,000をこえました.<br>'