Adding whitespace (space or newline) between two html tags creates an empty line in the Html widget.
I.e. a space or newline between </head> and <body> adds an empty line on top of the Html widget. Same happens for when you put whitespace between two tags after the content. Then an empty line is added on the bottom of the Html widget.
Describe the bug:
Adding whitespace (space or newline) between two html tags creates an empty line in the Html widget. I.e. a space or newline between
</head>
and<body>
adds an empty line on top of the Html widget. Same happens for when you put whitespace between two tags after the content. Then an empty line is added on the bottom of the Html widget.HTML to reproduce the issue:
Html
widget configuration:Expected behavior:
No empty lines should be added. See screenshots below.
Screenshots:
Bug:
Expected:
Device details and Flutter/Dart/
flutter_html
versions:Flutter: 3.3.10 Dart: 2.18.6 flutter_html: 3.0.0-alpha.6
A picture of a cute animal (not mandatory but encouraged)