31
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-09-29 13:39:05 +00:00

fix displaying of "\n" in the message

This commit is contained in:
Denis Ryabov 2021-05-11 23:56:48 +03:00
parent 7d7fd10cac
commit 7fe37585f2

View File

@ -120,7 +120,7 @@ class JedcheckerRulesLanguage extends JEDcheckerRule
// Check EOL format is \n (not \r or \n\r) // Check EOL format is \n (not \r or \n\r)
if (strpos($content, "\r") !== false) if (strpos($content, "\r") !== false)
{ {
$this->report->addInfo($file, JText::_('COM_JEDCHECKER_LANG_INCORRECT_EOL')); $this->report->addInfo($file, JText::_('COM_JEDCHECKER_LANG_INCORRECT_EOL', false, false));
} }
$lines = file($file); $lines = file($file);