Your IP : 52.14.176.111


Current Path : /var/www/www-root/data/www.catalog.monolith-realty.ru/bitrix/modules/main/lib/text/
Upload File :
Current File : /var/www/www-root/data/www.catalog.monolith-realty.ru/bitrix/modules/main/lib/text/xmlconverter.php

<?php
namespace Bitrix\Main\Text;

class XmlConverter extends Converter
{
	public function encode($text, $textType = "")
	{
		if (is_object($text))
			return $text;

		return HtmlFilter::encode($text);
	}

	public function decode($text, $textType = "")
	{
		if (is_object($text))
			return $text;

		return htmlspecialchars_decode($text);
	}
}