enqueueMessage with hyperlink

17 views
Skip to first unread message

Bas van den Dikkenberg

unread,
Aug 22, 2021, 2:35:02 PM8/22/21
to Joomla! General Development
Hi,


When i raise an error in my plugin, it now removes hyperlinks in that message, this was not the case in joomla 3.x?

example:

JFactory::getApplication()->enqueueMessage('somting is worng <a href = \'/index.php?option=com_hccxmlbeheer&view=nieuwaccount\'>klik to fix</a> ');

In the messages it strips of the  href = '/index.php?option=com_hccxmlbeheer&view=nieuwaccount' part of the hyperlink tag

I know use jtext but this just an example :-)



Is this right and why is this ?

With kind regards,


Bas

Reply all
Reply to author
Forward
0 new messages