]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc: remove needless linebreak in front of </ in MarkupWriter
authorFlorian Brosch <flo.brosch@gmail.com>
Fri, 30 Oct 2009 23:46:00 +0000 (00:46 +0100)
committerFlorian Brosch <flo.brosch@gmail.com>
Fri, 30 Oct 2009 23:46:00 +0000 (00:46 +0100)
configure.in
src/libvaladoc/markupwriter.vala

index 54c888483c2d3c13328f52d2b2dd3a6cef963d33..43ff79056098314665226466ef0806ad4ab74ec7 100644 (file)
@@ -66,6 +66,7 @@ AC_CONFIG_FILES([Makefile
                  src/doclets/htm/Makefile
                  src/doclets/valadoc.org/Makefile
                  src/doclets/devhelp/Makefile
+                 src/doclets/xml/Makefile
                  src/valadoc/Makefile])
 
 AC_OUTPUT
index 32ceffe97e2fa589e7ef4e15b13dc16bffea7d7a..43638e0f74d9070e1b3f72a97bb6366a2ae2dba9 100644 (file)
@@ -162,6 +162,8 @@ public class Valadoc.MarkupWriter {
                        return;
                } else if (end_tag && content_inline_element (name)) {
                        return;
+               } else if (end_tag && !last_was_tag) {
+                       return;
                }
                break_line ();
        }