Skip to content

Commit

Permalink
rm empty array elements for spanish (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv authored Nov 26, 2023
1 parent a4086d5 commit 2a41961
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.1.2 (November 26, 2023)
* Remove spanish empty array elements.

## 1.1.1 (November 24, 2023)
* Trim NBSP unicode for Portuguese, Italian and Japanese.

Expand Down
2 changes: 1 addition & 1 deletion src/FetchMeditation/SpanishJFT.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function fetch(): JFTEntry
}
}

$result['content'] = $paragraphs;
$result['content'] = array_values(array_filter($paragraphs));
$result['page'] = '';
$result['copyright'] = 'Servicio del Foro Zonal Latinoamericano, Copyright 2017 NA World Services, Inc. Todos los Derechos Reservados.';
$result['thought'] = 'Sólo por Hoy: ' . trim($extractedThought);
Expand Down

0 comments on commit 2a41961

Please sign in to comment.