Explorar o código

Merge pull request #4193 from larsiusprime/patch-1

Update Printer.hx
Simon Krajewski %!s(int64=10) %!d(string=hai) anos
pai
achega
fcce2f0fa0
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      std/haxe/xml/Printer.hx

+ 2 - 2
std/haxe/xml/Printer.hx

@@ -103,7 +103,7 @@ class Printer {
 
 	inline function newline() {
 		if (pretty) {
-			output.add("");
+			output.add("\n");
 		}
 	}
 
@@ -121,4 +121,4 @@ class Printer {
 		}
 		return false;
 	}
-}
+}