private boolean isJawrImageTag ( ComponentTag tag ) { String tagName = tag . getName ( ) ; return ( tagName . equalsIgnoreCase ( "img" ) || ( tagName . equalsIgnoreCase ( "input" ) && tag . getAttribute ( "type" ) . equals ( "image" ) ) ) ; }
Checks if it s a Jawr image tag or not