From 7fe37585f2abe2e15ae8b24877da7ac24609fbe6 Mon Sep 17 00:00:00 2001 From: Denis Ryabov Date: Tue, 11 May 2021 23:56:48 +0300 Subject: [PATCH] fix displaying of "\n" in the message --- .../components/com_jedchecker/libraries/rules/language.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_jedchecker/libraries/rules/language.php b/administrator/components/com_jedchecker/libraries/rules/language.php index 3b532f7..10a48d2 100644 --- a/administrator/components/com_jedchecker/libraries/rules/language.php +++ b/administrator/components/com_jedchecker/libraries/rules/language.php @@ -120,7 +120,7 @@ class JedcheckerRulesLanguage extends JEDcheckerRule // Check EOL format is \n (not \r or \n\r) 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);