[yew-devel] [PATCH proxmox-yew-comp] fix: add a `div` wrapper element around the notes content
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Dec 3 13:51:57 CET 2025
On Tue, 02 Dec 2025 16:01:09 +0100, Shan Shaji wrote:
> When the <script> element is placed on the first line of the note,
> the `DomParser` parses it and moves it into the <head> element. As a
> result, the <body> does not contain the <script> element, and the
> NoteView fails to display it. However, when the <script> element is
> placed between two lines, it is correctly placed inside the <body>.
>
> To fix this issue, a wrapper <div> element has been added around the
> note string.
>
> [...]
Applied, thanks!
[1/1] fix: add a `div` wrapper element around the notes content
commit: 580f69671e70473a8aeb5075df29b58ca1803a5a
More information about the yew-devel
mailing list