Skip to content

Commit

Permalink
Merge pull request #57 from osmoscraft/rss-atom-mix-fix
Browse files Browse the repository at this point in the history
Graceful handling of unexpected nested elements
  • Loading branch information
chuanqisun authored Sep 16, 2021
2 parents d86a64c + edc12d8 commit ab439f2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v1.11.1

- Fixed: Unexpected nested element in `author` field crashes the parser

# v1.11.0

- Changed: Default HTML template meta tag adjusted to match convention
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@osmoscraft/osmosfeed",
"version": "1.11.0",
"version": "1.11.1",
"description": "",
"scripts": {
"dev": "node scripts/build.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/utils/ensure-string-content.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export function getNonEmptyStringOrNull(input?: string): string | null {
const trimmed = input?.trim();
const trimmed = input?.trim?.();
if (!trimmed?.length) return null;

return trimmed;
Expand Down

0 comments on commit ab439f2

Please sign in to comment.