if the img tag is defined as an inline display then retinise replaces it as a block. Store the display attribute and replace it after the image src has been replaced.
Merge pull request #3 from deepakprabhakara/master

problem with setting img display attribute as 'block'