diff options
author | Colin Walters <walters@verbum.org> | 2011-08-12 06:01:56 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2011-08-13 04:17:00 -0400 |
commit | d437ae4ae95bada1305c6b720bb7eb207c7122bf (patch) | |
tree | 22af2fab24b0fffdf70bff272525ae61f2cd2693 /giscanner/girwriter.py | |
parent | c4c1de663f0c42875d5dd029d910d6c37e90ec8a (diff) | |
download | gobject-introspection-d437ae4ae95bada1305c6b720bb7eb207c7122bf.tar.gz |
scanner: Don't throw away blank lines in the docs
For generating documentation, we actually want to preserve these.
https://bugzilla.gnome.org/show_bug.cgi?id=656389
Diffstat (limited to 'giscanner/girwriter.py')
-rw-r--r-- | giscanner/girwriter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py index 1da2417d..b3b74357 100644 --- a/giscanner/girwriter.py +++ b/giscanner/girwriter.py @@ -135,7 +135,7 @@ and/or use gtk-doc annotations. ''') self.write_tag('attribute', [('name', key), ('value', value)]) if hasattr(node, 'doc') and node.doc: self.write_tag('doc', [('xml:whitespace', 'preserve')], - node.doc.strip()) + node.doc) def _append_node_generic(self, node, attrs): if node.skip or not node.introspectable: |