[Bug]: Lizmap 3.8 regression : tooltip HTML is not properly rendered in popups anymore #4990
Open
Description
What is the bug? (in English)
Since 3.8 updates, HTML in QGIS tooltip does not seem to be rendered properly.
For exemple this tooltip used to be rendered properly. In 3.8
- The HTML is broken (why
<ul>
in not inside<p>
anymore) - The
<script>
part is missing
Steps to reproduce the issue
Just load the attached project in Lizmap 3.8
It contains a layer with popup HTML configured as
<p>Hello</p>
<p>
<ul>
<li>liste 1</li>
<li>liste 2</li>
</ul>
</p>
<script>console.log("test script")</script>
it renders as
<p>Hello</p>
<p>
</p>
<ul>
<li>liste 1</li>
<li>liste 2</li>
</ul>
<p></p>
And the script is removed.
Versions, safeguards, check summary etc
Versions :
- Lizmap Web Client : 3.8.4-pre.8065
- Lizmap plugin : 4.4.4
- QGIS Desktop : 3.34.6
- Lizmap.com : Yes
- QGIS Server : 3.34.11
- Py-QGIS-Server : 1.9.2
- QGIS Server plugin DataPlotly : Not installed
- QGIS Server plugin atlasprint : 3.4.1
- QGIS Server plugin cadastre : 1.20.0
- QGIS Server plugin lizmap_server : 2.11.2
- QGIS Server plugin wfsOutputExtension : 1.8.2
List of Lizmap Web Client modules :
* saas : 1.7.4 * webdav : 1.1.6
List of safeguards :
* Mode : normal
* Allow parent folder : no
* Prevent other drive : yes
* Prevent PG service : no
* Prevent PG Auth DB : yes
* Force PG user&pass : yes
* Prevent ECW : yes
Check Lizmap plugin
- I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.
Operating system
Lizmap hosting
Browsers
Chrome
Browsers version
Version 1.69.0 (55816)
Relevant log output
No response