You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you look at the versioning of articles and want to compare them, Joomla shows both versions in pure HTML code.
There is a possibility of an override of:
administrator/components/com_contenthistory/tmpl/compare/compare.php
Thanks to Viktor Vogel.
Possible change from: <?php echo htmlspecialchars($subValue->value, ENT_COMPAT, 'UTF-8'); ?>
to: <?php echo $subValue->value; ?>
But: The "Changes" column still contains the HTML code. In J3 the text here was also formatted, which was much clearer, especially thanks to the paragraphs, when there was a lot of text.
Steps to reproduce the issue
If you look at the versioning of articles and want to compare them, Joomla shows both versions in pure HTML code.
There is a possibility of an override of:
administrator/components/com_contenthistory/tmpl/compare/compare.php
Thanks to Viktor Vogel.
Possible change from:
<?php echo htmlspecialchars($subValue->value, ENT_COMPAT, 'UTF-8'); ?>
to:
<?php echo $subValue->value; ?>
But: The "Changes" column still contains the HTML code. In J3 the text here was also formatted, which was much clearer, especially thanks to the paragraphs, when there was a lot of text.
In J3 you could switch from HTML code to text.
That was removed from the code 11 years ago
https://github.com/joomla/joomla-cms/blame/86043165758b6b48c2a4b2bc56a12ff298fd348e/administrator/components/com_contenthistory/views/compare/tmpl/compare.php#L32
Expected result
It would certainly be optimal if you could switch between HTML and formatted text in the display.
The text was updated successfully, but these errors were encountered: