protected void onComponentTag(ComponentTag pTag) {
super.onComponentTag(pTag);
pTag.setName("span");
// Remove non-conformant <span> attributes
IValueMap attribMap = pTag.getAttributes();
Iterator<Map.Entry<String,Object>> attrIterator = attribMap.entrySet().iterator();
while (attrIterator.hasNext()) {
Map.Entry<String,Object> entry = attrIterator.next();
String key = entry.getKey().toLowerCase();
if (!ALLOWED_SPAN_ATTRIBUTES.contains(key)) {
attrIterator.remove();