Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed some padding on lists

  • Loading branch information...
commit 0e0bdfe217d0ece3ffcfb9c1fec9e4f2309cef8e 1 parent afd6f22
@cbx33 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/htmlbuild.py
View
4 scripts/htmlbuild.py
@@ -129,7 +129,7 @@ def mung(data):
plob = re.findall("(\\\\begin\{itemize\}((.*?)\\\\end\{itemize\}))", data, re.S)
for i in plob:
- data = data.replace(i[0], '<div style="padding:10px;"><ul>' + i[2] + "</ul></div>")
+ data = data.replace(i[0], '<div style="padding-left:10px;"><ul>' + i[2] + "</ul></div>")
listd = i[1]
nasty = re.findall("(\\\\item(.*?)((?=\\\\item)|(?=\\\\end\{itemize\})))", listd, re.S)
for j in nasty:
@@ -137,7 +137,7 @@ def mung(data):
plob = re.findall("(\\\\begin\{enumerate\}((.*?)\\\\end\{enumerate\}))", data, re.S)
for i in plob:
- data = data.replace(i[0], '<div style="padding:10px;"><ol>' + i[2] + "</ol></div>")
+ data = data.replace(i[0], '<div style="padding-left:10px;"><ol>' + i[2] + "</ol></div>")
listd = i[1]
nasty = re.findall("(\\\\item(.*?)((?=\\\\item)|(?=\\\\end\{enumerate\})))", listd, re.S)
for j in nasty:
Please sign in to comment.
Something went wrong with that request. Please try again.