Skip to content
This repository was archived by the owner on Feb 17, 2022. It is now read-only.

Commit dc3aaf7

Browse files
author
Robert Kummer
committed
Fixing linebreaks for output, fixes #7
1 parent 2369a89 commit dc3aaf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Ipunkt/LaravelAnalytics/Providers/GoogleAnalytics.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public function render()
201201
}
202202
$script[] = $this->_getJavascriptTemplateBlockEnd();
203203

204-
return implode("\n", $script);
204+
return implode('', $script);
205205
}
206206

207207
/**
@@ -286,4 +286,4 @@ public function trackMeasurementUrl($metricName, $metricValue, Event $event, Cam
286286

287287
return $url . implode('&', $queryParams);
288288
}
289-
}
289+
}

0 commit comments

Comments
 (0)