aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/globaleventhandlers/onresize
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-09-27 19:52:26 +0200
committerGitHub <noreply@github.com>2021-09-27 19:52:26 +0200
commitb57379257281efd293e51237969a8553a7c58ae7 (patch)
tree37d1e1dee8f3ab8a5e4d953d121f80f647a94b5e /files/fr/web/api/globaleventhandlers/onresize
parentf139538f3148990f7b61d94f75d96381985a0c0e (diff)
downloadtranslated-content-b57379257281efd293e51237969a8553a7c58ae7.tar.gz
translated-content-b57379257281efd293e51237969a8553a7c58ae7.tar.bz2
translated-content-b57379257281efd293e51237969a8553a7c58ae7.zip
Fix web api fr upstream h2m (#2597)
* fix html examples with script * remove languages macro * enclose code words in <code> to avoid dot escape
Diffstat (limited to 'files/fr/web/api/globaleventhandlers/onresize')
-rw-r--r--files/fr/web/api/globaleventhandlers/onresize/index.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/files/fr/web/api/globaleventhandlers/onresize/index.html b/files/fr/web/api/globaleventhandlers/onresize/index.html
index 1e4ca16f5c..02ef0ffba5 100644
--- a/files/fr/web/api/globaleventhandlers/onresize/index.html
+++ b/files/fr/web/api/globaleventhandlers/onresize/index.html
@@ -33,7 +33,7 @@ alert(window.onresize);
<h3 id="Exemple">Exemple</h3>
-<pre>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+<pre class="brush: html">&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
@@ -62,6 +62,4 @@ window.onresize = sayHi;
<h3 id="Sp.C3.A9cification">Spécification</h3>
-<p>{{ DOM0() }}</p>
-
-<p>{{ languages( { "en": "en/DOM/element.onresize" } ) }}</p>
+<p>{{ DOM0() }}</p> \ No newline at end of file