Skip to content

Commit 9208786

Browse files
committed
Fix small bugs with images
1 parent 15d6560 commit 9208786

File tree

1 file changed

+1
-1
lines changed
  • Microsoft.Toolkit.Uwp.UI.Controls/MarkdownTextBlock/Parse/Inlines

1 file changed

+1
-1
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/MarkdownTextBlock/Parse/Inlines/ImageInline.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ internal static Common.InlineParseResult Parse(string markdown, int start, int e
123123
{
124124
Tooltip = tooltip,
125125
Url = url,
126-
Text = markdown.Substring(start, pos + 1)
126+
Text = markdown.Substring(start, pos + 1 - start)
127127
};
128128
return new Common.InlineParseResult(result, start, end);
129129
}

0 commit comments

Comments
 (0)