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/navigator/registerprotocolhandler/index.html | 2 +- .../registerprotocolhandler/web-based_protocol_handlers/index.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'files/fr/web/api/navigator/registerprotocolhandler') diff --git a/files/fr/web/api/navigator/registerprotocolhandler/index.html b/files/fr/web/api/navigator/registerprotocolhandler/index.html index 9c9f9bdff7..25df0e4c12 100644 --- a/files/fr/web/api/navigator/registerprotocolhandler/index.html +++ b/files/fr/web/api/navigator/registerprotocolhandler/index.html @@ -26,7 +26,7 @@ translation_of: Web/API/Navigator/registerProtocolHandler

Exemple

-

Si votre application web est située à http://www.example.com, vous pouvez enregistrer un gestionnaire de protocole lui permettant de gérer « mailto » comme ceci :

+

Si votre application web est située à http://www.example.com, vous pouvez enregistrer un gestionnaire de protocole lui permettant de gérer « mailto » comme ceci :

navigator.registerProtocolHandler("mailto",
                                  "https://www.example.com/?to=%s",
diff --git a/files/fr/web/api/navigator/registerprotocolhandler/web-based_protocol_handlers/index.html b/files/fr/web/api/navigator/registerprotocolhandler/web-based_protocol_handlers/index.html
index 70b96ec01a..3ab6522963 100644
--- a/files/fr/web/api/navigator/registerprotocolhandler/web-based_protocol_handlers/index.html
+++ b/files/fr/web/api/navigator/registerprotocolhandler/web-based_protocol_handlers/index.html
@@ -41,7 +41,7 @@ translation_of: Web/API/Navigator/registerProtocolHandler/Web-based_protocol_han
 
 

Exemple

-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
 <html lang="fr">
 <head>
   <title>Web Protocol Handler Sample - Register</title>
@@ -62,7 +62,7 @@ translation_of: Web/API/Navigator/registerProtocolHandler/Web-based_protocol_han
 
 

Exemple

-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
 <html lang="fr">
 <head>
   <title>Exemple de gestionnaire de protocole web — test</title>
@@ -86,7 +86,7 @@ translation_of: Web/API/Navigator/registerProtocolHandler/Web-based_protocol_han
 
 

Exemple

-
<?php
+
<?php
 $value = "";
 if ( isset ( $_GET["value"] ) ) {
   $value = $_GET["value"];
-- 
cgit v1.2.3-54-g00ecf