/**
  * @dataProvider dataProvider
  */
 public function testImageReplacementNormal($body, $prefix, $expected)
 {
     $this->assertEquals($expected, \pugpig_replace_image_urls($body, $prefix));
 }
function pugpig_add_inline_images_to_manifest($markup, $prefix, $base = '')
{
    $fixed_markup = pugpig_replace_image_urls($markup, $prefix, $base, false);
    $images = pugpig_get_image_urls($fixed_markup);
    $ret = "\n# Adding images found in the body\n";
    $ret .= implode("\n", $images) . "\n\n";
    return $ret;
}