docs-maui icon indicating copy to clipboard operation
docs-maui copied to clipboard

Display a local HTML file example shows using local embedded html not using a file name.

Open tompnub opened this issue 10 months ago • 1 comments

Type of issue

Missing information

Description

The text above the code sample in the "Display a local HTML file" section describes setting the Source property for a WebView, but the code sample shows html embedded using CDATA.

Page URL

https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/webview?view=net-maui-8.0

Content source URL

https://github.com/dotnet/docs-maui/blob/main/docs/user-interface/controls/webview.md

Document Version Independent Id

ace91785-d304-f161-408e-34511fb75ce3

Article author

@davidbritch

Metadata

  • ID: ace91785-d304-f161-408e-34511fb75ce3
  • Service: dotnet-mobile
  • Sub-service: dotnet-maui

tompnub avatar Apr 17 '24 08:04 tompnub

Hi @tompnub

This is because when that doc was written, displaying a local HTML file (which worked in Xamarin.Forms) didn't work in MAUI. I'll have to investigate if it's now fixed.

davidbritch avatar May 30 '24 10:05 davidbritch