Issue #3452630 by SandeepMahlawat, pooja_sharma, joachim, mondrake: HtmlOutputLogger outputs surplus newline

merge-requests/6952/head
Alex Pott 2024-06-12 10:56:54 +01:00
parent 9fc1bc9ac5
commit fc948a689c
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ final class HtmlOutputLogger {
* Logs a link to a generated HTML page. * Logs a link to a generated HTML page.
* *
* @param string $logEntry * @param string $logEntry
* A link to a generated HTML page. * A link to a generated HTML page, should not contain a trailing newline.
* *
* @throws \RuntimeException * @throws \RuntimeException
*/ */

View File

@ -118,7 +118,7 @@ trait BrowserHtmlDebugTrait {
// Do not use the file_url_generator service as the module_handler service // Do not use the file_url_generator service as the module_handler service
// might not be available. // might not be available.
$uri = $this->htmlOutputBaseUrl . '/sites/simpletest/browser_output/' . $html_output_filename; $uri = $this->htmlOutputBaseUrl . '/sites/simpletest/browser_output/' . $html_output_filename;
HtmlOutputLogger::log($uri . "\n"); HtmlOutputLogger::log($uri);
} }
/** /**