• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/textparser.php
  • Класс: CTextParser
  • Вызов: CTextParser::parseSpaces
protected function parseSpaces($matches)
{
	if ($matches[1] != '')
	{
		return preg_replace("/x20{2}/", "x20 ", $matches[1]);
	}
	return $matches[1];
}