Doc #73129 [Opn->Csd]: [RU] Wrong translation of strip_tags() docs
| From: | rjhdby@php.net | Date: | Sun, 06 Nov 2016 18:39:16 +0000 |
| Subject: | Doc #73129 [Opn->Csd]: [RU] Wrong translation of strip_tags() docs | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14072@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73129&edit=1
ID: 73129
Updated by: rjhdby@php.net
Reported by: arcadius at mail dot ru
Summary: [RU] Wrong translation of strip_tags() docs
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: rjhdby
Block user comment: N
Private report: N
New Comment:
already updated
Previous Comments:
------------------------------------------------------------------------
[2016-09-20 13:45:39] arcadius at mail dot ru
Description:
------------
Source (http://php.net/manual/en/function.strip-tags.php):
In PHP 5.3.4 and later, self-closing XHTML tags are ignored and only non-self-closing tags should be
used in allowable_tags. For example, to allow both <br> and <br/>, you should use:
<?php
strip_tags($input, '<br>');
?>
Current russian translation (http://php.net/manual/ru/function.strip-tags.php):
Ð PHP 5.3.4 и новее Ñакже
необÑ
одимо добавлÑÑÑ
ÑооÑвеÑвÑÑÑий закÑÑваÑÑий
Ñег XHTML, ÑÑÐ¾Ð±Ñ ÑдалиÑÑ Ñег из str.
ÐапÑимеÑ, Ð´Ð»Ñ ÑÐ´Ð°Ð»ÐµÐ½Ð¸Ñ Ð¸ <br> и
<br/> нÑжно ÑделаÑÑ ÑледÑÑÑее:
<?php
strip_tags($input, '<br><br/>');
?>
Expected result:
----------------
Should be smth like:
РPHP 5.3.4 и новее
ÑамозакÑÑваÑÑие Ñеги XHTML
игноÑиÑÑÑÑÑÑ, и в паÑамеÑÑе
allowable_tags Ð´Ð¾Ð»Ð¶Ð½Ñ Ð¸ÑполÑзоваÑÑÑÑ
ÑолÑко не ÑамозакÑÑваÑÑие
Ñеги. ÐапÑимеÑ, ÑÑобÑ
оÑÑавиÑÑ Ð¸ <br> и <br/>, нÑжно
ÑделаÑÑ ÑледÑÑÑее:
<?php
strip_tags($input, '<br>');
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73129&edit=1