aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/isObviousHtml.js
blob: 715b47c1b33f4249be1abb2bd96e1dc67cea43ba (plain)
1
2
3
4
5
export function isObviousHtml( input ) {
	return input[ 0 ] === "<" &&
		input[ input.length - 1 ] === ">" &&
		input.length >= 3;
}