fixed grid export in HTML
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.8.2-stable+timestamp.2014.01.06.10.55.29
|
||||
Version 2.8.2-stable+timestamp.2014.01.07.02.13.10
|
||||
|
||||
+2
-1
@@ -3204,7 +3204,8 @@ class ExporterHTML(ExportClass):
|
||||
ExportClass.__init__(self, rows)
|
||||
|
||||
def export(self):
|
||||
return '<html>\n<head>\n<meta http-equiv="content-type" content="text/html; charset=UTF-8" />\n</head>\n<body>\n%s\n</body>\n</html>' % (self.rows.xml() or '')
|
||||
xml = self.rows.xml() if self.rows else ''
|
||||
return '<html>\n<head>\n<meta http-equiv="content-type" content="text/html; charset=UTF-8" />\n</head>\n<body>\n%s\n</body>\n</html>' % (xml or '')
|
||||
|
||||
class ExporterXML(ExportClass):
|
||||
label = 'XML'
|
||||
|
||||
Reference in New Issue
Block a user