Skip to content

Commit

Permalink
Fixes #67: Fixed inserting 
 in the file on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark authored Mar 27, 2019
1 parent c897f7a commit dcfef47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private function createNewFile()
* the header was written correctly and we can simply reuse any <url>
* elements that did not fit into the previous file. (See self::flush)
*/
$this->writer->text(PHP_EOL);
$this->writer->text("\n");
$this->flush(true);
}

Expand Down

0 comments on commit dcfef47

Please sign in to comment.