"""Image renderer module."""
from mfr.core import RenderResult


def render_img_tag(fp, src=None, alt=''):
    """A simple image tag renderer.

    :param str:
    """
    # Default src to the filename
    if src is None:
        src = fp.name

    return RenderResult('<img src="{src}" alt="{alt}" />'.format(src=src, alt=alt))
@@ -246,28 +246,18 @@
     
-return RenderResult(
+content = 
 '%3Cim
@@ -310,9 +310,41 @@
 alt=alt)
+%0A    return RenderResult(content
 )

split line for clarity