소스 검색

Add newlines after processinginstructions and doctypes (#5818)

Nico May 8 년 전
부모
커밋
29cae0271d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      std/haxe/xml/Printer.hx

+ 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();
 		}
 	}