Skip to content
Snippets Groups Projects
Commit 9421760a authored by Demian Katz's avatar Demian Katz
Browse files

Style fix.

parent 13e3768e
No related merge requests found
...@@ -172,7 +172,9 @@ class Wikipedia implements TranslatorAwareInterface ...@@ -172,7 +172,9 @@ class Wikipedia implements TranslatorAwareInterface
$imageName = $imageCaption = null; $imageName = $imageCaption = null;
// Get rid of the last pair of braces and split // Get rid of the last pair of braces and split
$infobox = explode("\n|", preg_replace('/^\s+|/m', '', substr($infoboxStr, 2, -2))); $infobox = explode(
"\n|", preg_replace('/^\s+|/m', '', substr($infoboxStr, 2, -2))
);
// Look through every row of the infobox // Look through every row of the infobox
foreach ($infobox as $row) { foreach ($infobox as $row) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment