|
@@ 1188-1190 (lines=3) @@
|
| 1185 |
|
// Cas du turc |
| 1186 |
|
if ($GLOBALS['spip_lang'] == 'tr') { |
| 1187 |
|
# remplacer hors des tags et des entites |
| 1188 |
|
if (preg_match_all(',<[^<>]+>|&[^;]+;,S', $texte, $regs, PREG_SET_ORDER)) { |
| 1189 |
|
foreach ($regs as $n => $match) { |
| 1190 |
|
$texte = str_replace($match[0], "@@SPIP_TURC$n@@", $texte); |
| 1191 |
|
} |
| 1192 |
|
} |
| 1193 |
|
|
|
@@ 1196-1198 (lines=3) @@
|
| 1193 |
|
|
| 1194 |
|
$texte = str_replace('i', 'İ', $texte); |
| 1195 |
|
|
| 1196 |
|
if ($regs) { |
| 1197 |
|
foreach ($regs as $n => $match) { |
| 1198 |
|
$texte = str_replace("@@SPIP_TURC$n@@", $match[0], $texte); |
| 1199 |
|
} |
| 1200 |
|
} |
| 1201 |
|
} |