removed unwanted whitespaces

This commit is contained in:
mdipierro
2012-08-16 11:56:07 -05:00
parent f78f27982b
commit a608df5a29
90 changed files with 253 additions and 162 deletions
+5 -4
View File
@@ -2034,11 +2034,11 @@ class FORM(DIV):
return self
REDIRECT_JS = "window.location='%s';return false"
def add_button(self,value,url,_class=None):
self[0][-1][1].append(INPUT(_type="button",_value=value,_class=_class,
_onclick=self.REDIRECT_JS % url))
@staticmethod
@@ -2052,7 +2052,7 @@ class FORM(DIV):
inputs += [INPUT(_type='hidden',
_name=name,
_value=value)
for name,value in hidden.items()]
for name,value in hidden.items()]
form = FORM(INPUT(_type='submit',_value=text),*inputs)
form.process()
return form
@@ -2385,7 +2385,7 @@ class MARKMIN(XmlComponent):
autolinks='default',
protolinks='default',
class_prefix='',
id_prefix='markmin_'):
id_prefix='markmin_'):
self.text = text
self.extra = extra or {}
self.allowed = allowed or {}
@@ -2434,3 +2434,4 @@ if __name__ == '__main__':