Skip to content

Commit

Permalink
fix: just reencode br
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Sep 27, 2022
1 parent 68db0ff commit cce2e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/command/cleanticketscommand.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ protected function fixBadForm_2(InputInterface $input, OutputInterface $output)
'<br />',
];
$replace = [
'&lt;div&gt;&lt;/div&gt;',
'&lt;br /&gt;',
];
$row['content'] = str_replace($pattern, $replace, $row['content']);
// Direct write to the table to avoid alteration of other fields
Expand Down

0 comments on commit cce2e7e

Please sign in to comment.