|
@@ -447,6 +447,16 @@ def namumark(title, data):
|
|
|
alltable = alltable + 'margin:auto;'
|
|
alltable = alltable + 'margin:auto;'
|
|
|
else:
|
|
else:
|
|
|
alltable = alltable + 'margin-right:auto;'
|
|
alltable = alltable + 'margin-right:auto;'
|
|
|
|
|
+
|
|
|
|
|
+ ee = re.search("<table\s?textalign=((?:(?!>).)*)>", result[1])
|
|
|
|
|
+ if(ee):
|
|
|
|
|
+ resultss = ee.groups()
|
|
|
|
|
+ if(resultss[0] == 'right'):
|
|
|
|
|
+ alltable = alltable + 'text-align:right;'
|
|
|
|
|
+ elif(resultss[0] == 'center'):
|
|
|
|
|
+ alltable = alltable + 'text-align:center;'
|
|
|
|
|
+ else:
|
|
|
|
|
+ alltable = alltable + 'text-align:left;'
|
|
|
|
|
|
|
|
r = re.search("<-((?:(?!>).)*)>", result[1])
|
|
r = re.search("<-((?:(?!>).)*)>", result[1])
|
|
|
if(r):
|
|
if(r):
|
|
@@ -540,7 +550,7 @@ def namumark(title, data):
|
|
|
celstyle = celstyle + 'text-align:right;'
|
|
celstyle = celstyle + 'text-align:right;'
|
|
|
elif(o):
|
|
elif(o):
|
|
|
celstyle = celstyle + 'text-align:center;'
|
|
celstyle = celstyle + 'text-align:center;'
|
|
|
- else:
|
|
|
|
|
|
|
+ elif(p):
|
|
|
celstyle = celstyle + 'text-align:left;'
|
|
celstyle = celstyle + 'text-align:left;'
|
|
|
|
|
|
|
|
alltable = alltable + '"'
|
|
alltable = alltable + '"'
|
|
@@ -634,7 +644,7 @@ def namumark(title, data):
|
|
|
celstyle = celstyle + 'text-align:right;'
|
|
celstyle = celstyle + 'text-align:right;'
|
|
|
elif(o):
|
|
elif(o):
|
|
|
celstyle = celstyle + 'text-align:center;'
|
|
celstyle = celstyle + 'text-align:center;'
|
|
|
- else:
|
|
|
|
|
|
|
+ elif(p):
|
|
|
celstyle = celstyle + 'text-align:left;'
|
|
celstyle = celstyle + 'text-align:left;'
|
|
|
|
|
|
|
|
celstyle = celstyle + '"'
|
|
celstyle = celstyle + '"'
|
|
@@ -710,7 +720,7 @@ def namumark(title, data):
|
|
|
celstyle = celstyle + 'text-align:right;'
|
|
celstyle = celstyle + 'text-align:right;'
|
|
|
elif(o):
|
|
elif(o):
|
|
|
celstyle = celstyle + 'text-align:center;'
|
|
celstyle = celstyle + 'text-align:center;'
|
|
|
- else:
|
|
|
|
|
|
|
+ elif(p):
|
|
|
celstyle = celstyle + 'text-align:left;'
|
|
celstyle = celstyle + 'text-align:left;'
|
|
|
|
|
|
|
|
celstyle = celstyle + '"'
|
|
celstyle = celstyle + '"'
|