summaryrefslogtreecommitdiff
path: root/pygments/formatters/svg.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2007-10-14 22:29:24 +0200
committergbrandl <devnull@localhost>2007-10-14 22:29:24 +0200
commitcbf18837af997d1f9566d4a5e53868b7e0ef6e63 (patch)
tree6be1ad53747fc2d55926a85e7af7463069eddf52 /pygments/formatters/svg.py
parent4ae0e8a199bb82f9cebd95bbba131d6a9593693f (diff)
downloadpygments-cbf18837af997d1f9566d4a5e53868b7e0ef6e63.tar.gz
Make check.
Diffstat (limited to 'pygments/formatters/svg.py')
-rw-r--r--pygments/formatters/svg.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/formatters/svg.py b/pygments/formatters/svg.py
index c3fb81d5..0f2312be 100644
--- a/pygments/formatters/svg.py
+++ b/pygments/formatters/svg.py
@@ -112,7 +112,8 @@ class SvgFormatter(Formatter):
else:
outfile.write('<?xml version="1.0"?>\n')
outfile.write('<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" '
- '"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">\n')
+ '"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/'
+ 'svg10.dtd">\n')
outfile.write('<svg xmlns="http://www.w3.org/2000/svg">\n')
outfile.write('<g font-family="%s" font-size="%s">\n' % (self.fontfamily,
self.fontsize))