Closed
Description
Describe the bug:
After transition to HtmlExtension the details/summary tags sometimes show "Details" instead of the summary provided in the summary tag.
Debugged in the code: due to context.builtChildrenMap
in DetailsElementBuiltIn
build
function containing "[text]" element as first child instead of summary.
HTML to reproduce the issue:
<!DOCTYPE html>
<html>
<body>
<details>
<summary><h1>Header</h1></summary>
<p>These are the details.</p>
</details>
</body>
</html>
Html
widget configuration:
Not relevant
Expected behavior:
Should show the "Header" text instead of "Details"
Device details and Flutter/Dart/flutter_html
versions:
Flutter 3.10.1 / Dart 3.0.1
Metadata
Metadata
Assignees
Labels
Projects
Status
Done