silverstripe / silverstripe-framework

Silverstripe Framework, the MVC framework that powers Silverstripe CMS
https://www.silverstripe.org
BSD 3-Clause "New" or "Revised" License
720 stars 823 forks source link

Convert::xml2raw - `&#xxx` should be converted #10991

Open sabina-talipova opened 10 months ago

sabina-talipova commented 10 months ago

Description

Currently &#xxx; entities (e.g. 	 which is a tab - see this list) are stripped, they should be converted.

See: https://github.com/silverstripe/silverstripe-framework/blob/cf78a9d785b9959a92dfb52c2a456bea80a4c567/src/Core/Convert.php#L207