parent
							
								
									0cc71c7cc9
								
							
						
					
					
						commit
						d4bf60d282
					
				
					 3 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -163,6 +163,10 @@ export class V2XmlFormatter implements XmlFormatter {
 | 
			
		|||
                    && ((options.splitXmlnsOnFormat
 | 
			
		||||
                        && xml.substr(i, 5).toLowerCase() === "xmlns")
 | 
			
		||||
                        || options.splitAttributesOnFormat)) {
 | 
			
		||||
 | 
			
		||||
                    // trim the end of output here to ensure there is no trailing whitespace (issue #288)
 | 
			
		||||
                    output = this._removeTrailingNonBreakingWhitespace(output);
 | 
			
		||||
 | 
			
		||||
                    output += `${options.newLine}${this._getIndent(options, indentLevel)}`;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue