Skip to content

Commit da24129

Browse files
committed
Temporary removing the data attributes abstract, it needs to be escaped
1 parent e109fb6 commit da24129

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

lizmap/modules/view/templates/view.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
data-lizmap-project="{$p->id}"
1919
data-lizmap-keywords="{$p->keywordList}"
2020
data-lizmap-title="{$p->title}"
21-
data-lizmap-abstract="{$p->abstract}"
2221
data-lizmap-bbox="{$p->bbox}"
2322
data-lizmap-proj="{$p->proj}">
2423
<a class="liz-project-view" href="{$p->url}{if $hide_header}&h=0{/if}">

tests/end2end/playwright/project-homepage.spec.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ test.describe('Projects homepage @readonly', function () {
2424
"data-lizmap-keywords", 'nature, flower');
2525
await expect(project).toHaveAttribute(
2626
"data-lizmap-title", 'Test tags: nature, flower');
27-
await expect(project).toHaveAttribute(
28-
"data-lizmap-abstract", 'This is an abstract');
2927

3028
const allMetadata = await project.locator('.liz-project-desc');
3129
await expect(allMetadata).not.toBeVisible();
@@ -55,8 +53,6 @@ test.describe('Projects homepage @readonly', function () {
5553
"data-lizmap-keywords", 'nature, tree');
5654
await expect(project).toHaveAttribute(
5755
"data-lizmap-title", 'Tests tags: nature, tree');
58-
await expect(project).toHaveAttribute(
59-
"data-lizmap-abstract", 'Tags: nature, tree');
6056

6157
const allMetadataTree = project.locator('.liz-project-desc');
6258
await expect(allMetadataTree).not.toBeVisible();
@@ -89,8 +85,6 @@ test.describe('Projects homepage @readonly', function () {
8985
"data-lizmap-keywords", 'nature, flower');
9086
await expect(project).toHaveAttribute(
9187
"data-lizmap-title", 'Test tags: nature, flower');
92-
await expect(project).toHaveAttribute(
93-
"data-lizmap-abstract", 'This is an abstract');
9488
const allMetadata = project.locator('.liz-project-desc');
9589
await expect(allMetadata).not.toBeVisible();
9690

0 commit comments

Comments
 (0)