|
@@ 1597-1599 (lines=3) @@
|
| 1594 |
|
if ($l !== $lang) { |
| 1595 |
|
$trad = str_replace("'", '"', inserer_attribut($trad, 'lang', $l)); |
| 1596 |
|
} |
| 1597 |
|
if (lang_dir($l) !== lang_dir($lang)) { |
| 1598 |
|
$trad = str_replace("'", '"', inserer_attribut($trad, 'dir', lang_dir($l))); |
| 1599 |
|
} |
| 1600 |
|
if (!$options['echappe_span']) { |
| 1601 |
|
$trad = echappe_retour($trad, 'idiome'); |
| 1602 |
|
} |
|
@@ 1704-1706 (lines=3) @@
|
| 1701 |
|
$mode = preg_match(',</?(' . _BALISES_BLOCS . ')[>[:space:]],iS', $trad_propre) ? 'div' : 'span'; |
| 1702 |
|
$trad = code_echappement($trad, 'multi', false, $mode); |
| 1703 |
|
$trad = str_replace("'", '"', inserer_attribut($trad, 'lang', $l)); |
| 1704 |
|
if (lang_dir($l) !== lang_dir($lang)) { |
| 1705 |
|
$trad = str_replace("'", '"', inserer_attribut($trad, 'dir', lang_dir($l))); |
| 1706 |
|
} |
| 1707 |
|
if (!$options['echappe_span']) { |
| 1708 |
|
$trad = echappe_retour($trad, 'multi'); |
| 1709 |
|
} |