src/Ciconia/Renderer/HtmlRenderer.php
public function renderImage($src, array $options = array())
    {
        $options = $this->createResolver()->resolve($options);

        $tag = new Tag('img');
        $tag
            ->setEmptyTagSuffix($this->getEmptyTagSuffix())
            ->setType(Tag::TYPE_INLINE)
            ->setAttribute('src', $src)
            ->setAttributes($options['attr']);

        $this->getEmitter()->emit('tag', [$tag]);

        return $tag->render();
    }
public function renderImage($src, array $options = array())
    {
        $options = $this->createResolver()->resolve($options);

        $tag = new Tag('img');
        $tag
            ->setEmptyTagSuffix($this->getEmptyTagSuffix())
            ->setType(Tag::TYPE_INLINE)
            ->setAttribute('src', $src)
            ->setAttributes($options['attr']);

        $this->getEmitter()->emit('tag', [$tag]);

        return $tag->render();
    }
{@inheritdoc}