Describe the bug
In certain scenarios the following is shown:

This seems to be related to this issue.
Expected behavior
It should show the source code correctly
Minimal reproducible example
It is difficult to provide such an example, but in the addons demo, where prism is being used, this problem happens
Add-on Version
1.0.0-SNAPSHOT
Vaadin Version
24
Additional information
No response