Skip to content

Commit 44e39a4

Browse files
committed
Use html syntax for specifying custom image size inline where appropriate
1 parent cabc532 commit 44e39a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/MarkdownTextBlock/tests/ImageProviderConstraintTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public async Task ImageProvider_WithPrecedentDimensions_ShouldUsePrecedent()
114114
{
115115
Config = config,
116116
// Image with explicit width specified in markdown
117-
Text = "![Test Image](test://example.png){ width=200 }"
117+
Text = "<img src=\"test://example.png\" width=\"200\">"
118118
};
119119

120120
// Act

0 commit comments

Comments
 (0)