mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-15 21:41:06 +00:00
put the equals bar outside the loop
This commit is contained in:
parent
3b07d01937
commit
f161122412
1 changed files with 2 additions and 1 deletions
|
@ -364,8 +364,9 @@ class EntriesExport
|
|||
private function produceTXT()
|
||||
{
|
||||
$content = '';
|
||||
$bar = str_repeat("=",100);
|
||||
foreach ($this->entries as $entry) {
|
||||
$content .= "\n\n" . str_repeat("=",100) . "\n\n" . $entry->getTitle() . "\n\n" . str_repeat("=",100) . "\n\n";
|
||||
$content .= "\n\n" . $bar . "\n\n" . $entry->getTitle() . "\n\n" . $bar . "\n\n";
|
||||
$content .= trim(preg_replace('/\s+/S', ' ', strip_tags($entry->getContent()))) . "\n\n";
|
||||
}
|
||||
return Response::create(
|
||||
|
|
Loading…
Reference in a new issue