2
0
Эх сурвалжийг харах

Add newlines after processinginstructions and doctypes (#5818)

Nico May 8 жил өмнө
parent
commit
29cae0271d

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

@@ -94,8 +94,10 @@ class Printer {
 				}
 			case ProcessingInstruction:
 				write("<?" + value.nodeValue + "?>");
+				newline();
 			case DocType:
 				write("<!DOCTYPE " + value.nodeValue + ">");
+				newline();
 		}
 	}