in src/js/utils/RuleExporter.js [322:335]
static inferAttributeName(rulePropertyJSON: RulePropertyJSON): string {
if (rulePropertyJSON.attribute != null) {
return rulePropertyJSON.attribute;
} else {
switch (rulePropertyJSON.type) {
case RulePropertyTypes.DATETIME:
return 'dateTextContent';
case RulePropertyTypes.STRING:
return 'textContent';
default:
return 'innerContent';
}
}
}