Skip to content

Commit 4fd0cf3

Browse files
committed
fixed CS
1 parent 036726c commit 4fd0cf3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Component/Translation/Dumper/XliffFileDumper.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ protected function format(MessageCatalogue $messages, $domain)
4848
$s->appendChild($dom->createTextNode($source));
4949

5050
// Does the target contain characters requiring a CDATA section?
51-
$text = (1 === preg_match('/[&<>]/', $target))
52-
? $dom->createCDATASection($target)
53-
: $dom->createTextNode($target);
51+
$text = 1 === preg_match('/[&<>]/', $target) ? $dom->createCDATASection($target) : $dom->createTextNode($target);
5452

5553
$t = $translation->appendChild($dom->createElement('target'));
5654
$t->appendChild($text);

0 commit comments

Comments
 (0)