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/history_api/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/fr/web/api/history_api/index.html') diff --git a/files/fr/web/api/history_api/index.html b/files/fr/web/api/history_api/index.html index 6fc89eae15..b7d1b6a1e5 100644 --- a/files/fr/web/api/history_api/index.html +++ b/files/fr/web/api/history_api/index.html @@ -122,7 +122,7 @@ history.pushState(stateObj, "page 2", "bar.html");

Exemple de la méthode replaceState()

-

Supposons que http://mozilla.org/foo.html exécute le code JavaScript suivant :

+

Supposons que http://mozilla.org/foo.html exécute le code JavaScript suivant :

var stateObj = { foo: "bar" };
 history.pushState(stateObj, "page 2", "bar.html");
-- cgit v1.2.3-54-g00ecf