Skip to content

Commit

Permalink
Merge pull request #1189 from Microsoft/1188_fix
Browse files Browse the repository at this point in the history
MarkdownTextblock: fixed issue in image not returning the correct ending position
  • Loading branch information
shenchauhan authored Jun 27, 2017
2 parents 8a54ae5 + 7cf773e commit 81497b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ internal static Common.InlineParseResult Parse(string markdown, int start, int e
Url = url,
Text = markdown.Substring(start, pos + 1 - start)
};
return new Common.InlineParseResult(result, start, end);
return new Common.InlineParseResult(result, start, pos + 1);
}

/// <summary>
Expand Down

0 comments on commit 81497b0

Please sign in to comment.