Corrected the regular expression for image source conversion -
added a global modifier.

Added styles to add border to images. Documentation updated.