I did this and it is working. Is there any wrong ?


public class MyHtmlMapper extends DefaultHtmlMapper {

    public String mapSafeElement(String name) {
        return name != null ? name.toLowerCase() : name;
    }

    @Override
    public String mapSafeAttribute(String elementName, String attributeName) {
        return attributeName != null ? 
attributeName.toLowerCase():attributeName;
    }

}

Reply via email to