Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ImportedProjects
SVG
Commits
e0475f26
Commit
e0475f26
authored
Jun 11, 2015
by
Nir Noy
Browse files
FIxed #132 - rendering inline images
parent
3a2c7983
Changes
1
Show whitespace changes
Inline
Side-by-side
Source/Basic Shapes/SvgImage.cs
View file @
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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment