|
@@ 1126-1128 (lines=3) @@
|
| 1123 |
|
// Cas du turc |
| 1124 |
|
if ($GLOBALS['spip_lang'] == 'tr') { |
| 1125 |
|
# remplacer hors des tags et des entites |
| 1126 |
|
if (preg_match_all(',<[^<>]+>|&[^;]+;,S', $texte, $regs, PREG_SET_ORDER)) { |
| 1127 |
|
foreach ($regs as $n => $match) { |
| 1128 |
|
$texte = str_replace($match[0], "@@SPIP_TURC$n@@", $texte); |
| 1129 |
|
} |
| 1130 |
|
} |
| 1131 |
|
|
|
@@ 1134-1136 (lines=3) @@
|
| 1131 |
|
|
| 1132 |
|
$texte = str_replace('i', 'İ', $texte); |
| 1133 |
|
|
| 1134 |
|
if ($regs) { |
| 1135 |
|
foreach ($regs as $n => $match) { |
| 1136 |
|
$texte = str_replace("@@SPIP_TURC$n@@", $match[0], $texte); |
| 1137 |
|
} |
| 1138 |
|
} |
| 1139 |
|
} |