Commit 312eb943 authored by Tebjan Halm's avatar Tebjan Halm
Browse files

Merge pull request #159 from noynir/master

FIxed #132  - rendering inline images
parents a9d1cd69 e0475f26
......@@ -250,8 +250,11 @@ namespace Svg
using (WebResponse webResponse = httpRequest.GetResponse())
{
using (var stream = webResponse.GetResponseStream())
{
if (stream.CanSeek)
{
stream.Position = 0;
}
if (uri.LocalPath.EndsWith(".svg", StringComparison.InvariantCultureIgnoreCase))
{
var doc = SvgDocument.Open<SvgDocument>(stream);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment