From b57379257281efd293e51237969a8553a7c58ae7 Mon Sep 17 00:00:00 2001 From: SphinxKnight Date: Mon, 27 Sep 2021 19:52:26 +0200 Subject: Fix web api fr upstream h2m (#2597) * fix html examples with script * remove languages macro * enclose code words in to avoid dot escape --- files/fr/web/api/node/firstchild/index.html | 4 ++-- files/fr/web/api/node/normalize/index.html | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'files/fr/web/api/node') diff --git a/files/fr/web/api/node/firstchild/index.html b/files/fr/web/api/node/firstchild/index.html index 3c846498af..03550acf9f 100644 --- a/files/fr/web/api/node/firstchild/index.html +++ b/files/fr/web/api/node/firstchild/index.html @@ -21,7 +21,7 @@ translation_of: Web/API/Node/firstChild

Cet exemple montre l'utilisation de firstChild et la manière dont les nœuds d'espaces peuvent interférer.

-
<p id="para-01">
+
<p id="para-01">
   <span>Premier span</span>
 </p>
 
@@ -37,7 +37,7 @@ translation_of: Web/API/Node/firstChild
 
 

Si ces espaces sont retirés du code source, les nœuds #text n'apparaîtront plus et l'élément span deviendra le premier enfant du paragraphe.

-
<p id="para-01"><span>Premier span</span></p>
+
<p id="para-01"><span>Premier span</span></p>
 
 <script type="text/javascript">
   var p01 = document.getElementById('para-01');
diff --git a/files/fr/web/api/node/normalize/index.html b/files/fr/web/api/node/normalize/index.html
index e7ca55ed31..c1a299fb15 100644
--- a/files/fr/web/api/node/normalize/index.html
+++ b/files/fr/web/api/node/normalize/index.html
@@ -35,6 +35,4 @@ conteneur.normalize();
 
 
-
-

{{ languages( { "en": "en/DOM/element.normalize", "pl": "pl/DOM/element.normalize" } ) }}

+ \ No newline at end of file -- cgit v1.2.3-54-g00ecf