From d79ec4556adfb064b03b09f781aba721740c48cc Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 22 Sep 2006 11:48:58 +0000 Subject: [PATCH] create output that at least vaguely resembles XHTML. 2006-09-22 Sven Neumann * plug-ins/pygimp/plug-ins/colorxhtml.py: create output that at least vaguely resembles XHTML. --- ChangeLog | 5 +++++ plug-ins/pygimp/plug-ins/colorxhtml.py | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 12ca5a21a6..b7d0dc2a24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-22 Sven Neumann + + * plug-ins/pygimp/plug-ins/colorxhtml.py: create output that at + least vaguely resembles XHTML. + 2006-09-22 Sven Neumann * plug-ins/pygimp/plug-ins/colorxhtml.py: pass the correct function diff --git a/plug-ins/pygimp/plug-ins/colorxhtml.py b/plug-ins/pygimp/plug-ins/colorxhtml.py index af77779d0c..53c81f3a18 100755 --- a/plug-ins/pygimp/plug-ins/colorxhtml.py +++ b/plug-ins/pygimp/plug-ins/colorxhtml.py @@ -44,18 +44,19 @@ style_def = """body { } """ -preamble = """ +preamble = """ -css color html by The GIMP +CSS Color XHTML written by GIMP %s - +
 """
 
-postamble = """\n
\n\n""" +postamble = """\n\n\n\n""" def colorxhtml(img, drawable, filename, raw_filename, source_type, characters, size, separate): @@ -108,7 +109,7 @@ def colorxhtml(img, drawable, filename, raw_filename, style = style_def % size if separate: - ss = '' % cssfile + ss = '' % cssfile css.write(style) else: ss = '' % style