the comment on top of the file /** Examples: has ?> tags and these are producing that the complete file is converted in comment.
<script>alert(Joomla.Text._('<?php echo Text::_("JDEFAULT", array("script"=>true)); ?>'));</script>
<?php echo Text::_("JDEFAULT"); ?>
will generate a 'Default' stringeasy to repair
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
I was talking about the Joomla_4.2.5-Stable-Full_Package\libraries\src\Language\Text.php file.
https://github.com/joomla/joomla-cms/blob/4.2-dev/libraries/src/Language/Text.php
Maybe its only a problem of my script program displaying the code wrong, in github it looks fine:
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-12-04 12:18:49 |
Closed_By | ⇒ | richard67 |
Could you please explain exactly what's broken here? It is not clear to me base on your issue description. I have the feeling that it is broken in your Joomla installation only. So maybe you should check to see if the issue you found is still valid with the latest code from here https://github.com/joomla/joomla-cms/blob/4.2-dev/libraries/src/Language/Language.php ?