1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Clean <b> tags from lan files.

This commit is contained in:
Cameron 2017-10-17 07:18:51 -07:00
parent 632d9b11c2
commit 7c0cc8f37c

View File

@ -1901,7 +1901,7 @@ class lancheck
/**
* Clean-up out definitions in a language file.
* Clean-up definitions in a language file removed closing php tags and strip specific html..
* @param array $defKeys array of constants to comment out.
* @param string $path path to the language file to edit.
*/
@ -1916,7 +1916,14 @@ class lancheck
$lines = explode("\n",$content);
$srch = array();
$repl =array();
$repl = array();
$srch[] = '<b>';
$srch[] = '</b>';
$repl[] = '[b]';
$repl[] = '[/b]';
if(!empty($defKeys))
{