Added --enable-viewboxing option and stop setting width/height to 100% by default

This commit is contained in:
JSCHILL1 2009-12-31 13:59:54 -06:00
parent 8caa66edf9
commit 22fd47ab23
4 changed files with 17 additions and 4 deletions

View file

@ -47,6 +47,7 @@ class ScourOptions:
keep_editor_data = False
strip_xml_prolog = False
indent_type = "space"
viewboxing = False
class NoInkscapeElements(unittest.TestCase):
def runTest(self):
@ -829,7 +830,6 @@ class RemoveDefaultGradFYValue(unittest.TestCase):
class CDATAInXml(unittest.TestCase):
def runTest(self):
lines = scour.scourString(open('unittests/cdata.svg').read()).splitlines()
print lines[4]
self.assertEquals( lines[3],
" alert('pb&j');",
'CDATA did not come out correctly')