Regression introduced in: 2025.4.1111
When RadEditor is in HTML mode, calling get_html() without parameters modifies self-closing tags in the returned content.
According to the documented API behavior, the RadEditor client filters should modify the returned content only when the isFiltered argument is set to true. However, the content is currently passed through browser DOM serialization even when filtering is not requested. This normalizes HTML void elements and removes the XHTML self-closing slash.
Steps to reproduce
<img alt="" src="image.png" />
Actual result
The returned markup is modified and the self-closing slash is removed:
<img alt="" src="image.png">
Expected result
When filtering is not requested, the content entered in HTML mode should be returned without filter-related DOM serialization:
<img alt="" src="image.png" />
Calling editor.get_html(true) may modify the returned content according to the enabled RadEditor client filters.
Impact
Applications that store, compare, validate, or further process XHTML-compatible markup may receive content different from the source entered by the user. This can affect integrations that rely on self-closing tag syntax.