Skip to content

Commit 975b047

Browse files
committed
Fix h1 html escaping
1 parent 8598d03 commit 975b047

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/main/java/org/computate/frFR/java/EcrirePageClasse.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5010,10 +5010,10 @@ public void ecrirePageRechercheAucun(String langueNom, JsonObject i18nPage) thro
50105010
tl(6, "</", composantsWebPrefixe, "button>");
50115011
tl(5, "</", composantsWebPrefixe, "tooltip>");
50125012
tl(4, "</div>");
5013-
tl(4, "<h1>");
5014-
tl(5, classeIcone);
5015-
tl(5, "<span>", classeNomAdjectifPluriel, "</span>");
5016-
tl(4, "</h1>");
5013+
t(4, "<h1>");
5014+
s(classeIcone);
5015+
s(" <span>", classeNomAdjectifPluriel, "</span>");
5016+
l("</h1>");
50175017

50185018
tl(0, "{% include ", classePageBoutonsRechercheTemplate, " %}");
50195019
tl(0, "{% include ", classePageFormulaireRechercheTemplate, " %}");
@@ -5263,12 +5263,12 @@ public void ecrirePageRechercheJinja(String langueNom, JsonObject i18nPage) thro
52635263
// htmBodyTous //
52645264
/////////////////
52655265

5266-
tl(5, "<h1>");
5267-
tl(6, "<a href=\"{{pageUri}}\">");
5268-
tl(7, classeIcone);
5269-
tl(7, "<span>", classeNomAdjectifPluriel, "</span>");
5270-
tl(6, "</a>");
5271-
tl(5, "</h1>");
5266+
t(5, "<h1>");
5267+
s("<a href=\"{{pageUri}}\">");
5268+
s(classeIcone);
5269+
s(" <span>", classeNomAdjectifPluriel, "</span>");
5270+
s("</a>");
5271+
l("</h1>");
52725272

52735273
// formulaires
52745274

@@ -5378,10 +5378,10 @@ public void ecrirePageEditionJinja(String langueNom, JsonObject i18nPage) throws
53785378
tl(0, "{% include ", classePageBoutonsRechercheTemplate, " %}");
53795379
tl(0, "{% include ", classePageFormulaireRechercheTemplate, " %}");
53805380

5381-
tl(5, "<h1 class=\"", i18nPage.getString(I18n.var_Page), "_", classeVarTitre, "\">");
5382-
tl(6, classeIcone);
5383-
tl(6, "{{", varResultat, ".", classeVarTitre, "}}");
5384-
tl(5, "</h1>");
5381+
t(5, "<h1 class=\"", i18nPage.getString(I18n.var_Page), "_", classeVarTitre, "\">");
5382+
s(classeIcone);
5383+
s(" {{ ", varResultat, ".", classeVarTitre, " | e }}");
5384+
l("</h1>");
53855385
tl(2, "{% else %}");
53865386
ecrirePageRechercheAucun(langueNom, i18nPage);
53875387
tl(2, "{% endif %}");

0 commit comments

Comments
 (0)