lib/html2wt/WikitextEscapeHandlers.js
function startsOnANewLine(node) {
	var name = node.nodeName.toUpperCase();
	return Consts.BlockScopeOpenTags.has(name) &&
		!WTUtils.isLiteralHTMLNode(node) &&
		name !== "BLOCKQUOTE";
}
function startsOnANewLine(node) {
	var name = node.nodeName.toUpperCase();
	return Consts.BlockScopeOpenTags.has(name) &&
		!WTUtils.isLiteralHTMLNode(node) &&
		name !== "BLOCKQUOTE";
}
function startsOnANewLine ( node ) { var name = node . nodeName . toUpperCase ( ) ; return Consts . BlockScopeOpenTags . has ( name ) && ! WTUtils . isLiteralHTMLNode ( node ) && name !== "BLOCKQUOTE" ; }
ignore the cases where the serializer adds newlines not present in the dom
ignore the cases where the serializer adds newlines not present in the dom