QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
GNU General Public License v2.0
10.5k
stars
2.99k
forks
source link
HTML widget doesn't work if the parameters of any expression are splitted by a newline #47604
Closed
tudorbarascu closed 1 year ago
What is the bug or the crash?
If you add a HTML Widget:
Basically:
concat('a','b')
outputs the result butconcat('a',
'b')
doesn't work cause there's a newline after,
.Both work in the Expressions preview.
By deleting the newline.. it works.
Steps to reproduce the issue
concat('a',
'b')
ab
is not shownVersions
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
QGIS version | 3.22.4-Białowieża | QGIS code revision | 3f4577ce6e -- | -- | -- | -- Qt version | 5.15.2 Python version | 3.9.2 GDAL/OGR version | 3.4.1 PROJ version | 7.2.1 EPSG Registry database version | v10.008 (2020-12-16) GEOS version | 3.10.2-CAPI-1.16.0 SQLite version | 3.34.1 PDAL version | 2.2.0 PostgreSQL client version | 14.2 (Debian 14.2-1.pgdg110+1) SpatiaLite version | 5.0.1 QWT version | 6.1.4 QScintilla2 version | 2.11.6 OS version | Debian GNU/Linux 11 (bullseye) | | | Active Python plugins pluginbuilder3 | 3.2.1 slyr_community | 4.0.1 Discovery | 2.5.7 mask | 1.10.1 project_export_inspire | 1.0.0 pg_history_viewer | 2.2 QNEAT3 | 1.0.4 LAStools | 1.4 qgis_resource_sharing | 0.16.0 water_topology_plugin | 0.1 water_analytics | 0.1 QGIS_Dashboard-master | 0.1 plugin_reloader | 0.9.1 qtibia_docs_py3 | 0.1 scriptrunner3 | 3.0.5 QuickWKT | 3.1 searchlayers | 3.0.5 trackable_project_files | v1.2.2 db_manager | 0.1.20 sagaprovider | 2.12.99 processing | 2.12.99 grassprovider | 2.12.99 QGIS version 3.22.4-Białowieża QGIS code revision [3f4577ce6e](https://github.com/qgis/QGIS/commit/3f4577ce6e) Qt version 5.15.2 Python version 3.9.2 GDAL/OGR version 3.4.1 PROJ version 7.2.1 EPSG Registry database version v10.008 (2020-12-16) GEOS version 3.10.2-CAPI-1.16.0 SQLite version 3.34.1 PDAL version 2.2.0 PostgreSQL client version 14.2 (Debian 14.2-1.pgdg110+1) SpatiaLite version 5.0.1 QWT version 6.1.4 QScintilla2 version 2.11.6 OS version Debian GNU/Linux 11 (bullseye) Active Python plugins processing 2.12.99 grassprovider 2.12.99 ### Supported QGIS version - [X] I'm running a supported QGIS version according to the roadmap. ### New profile - [X] I tried with a new QGIS profile ### Additional context _No response_