function isInvalidEntity(node){var configuration=context.options[0]||{};var entities=configuration.forbid||DEFAULTS;// HTML entites are already escaped in node.value (as well as node.raw),
// so pull the raw text from context.getSourceCode()
for(var i=node.loc.start.line;i<=node.loc.end.line;i++){var rawLine=context.getSourceCode().lines[i-1];var start=0;var end=rawLine.length;if(i===node.loc.start.line){start=node.loc.start.column;}if(i===node.loc.end.line){end=node.loc.end.column;}rawLine=rawLine.substring(start,end);for(var j=0;j<entities.length;j++){for(var index=0;index<rawLine.length;index++){var c=rawLine[index];if(c===entities[j]){context.report({loc:{line:i,column:start+index},message:'HTML entities must be escaped.',node:node});}}}}}
@fileoverview HTML special characters should be escaped.
@author Patrick Hayes