From e37de1bdb17bf30a9f3563bf6cff59b1f830465a Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 13 Feb 2022 01:18:27 +0100 Subject: [PATCH] Update version and lint --- CHANGELOG.md | 5 +++++ lib/src/example_search.dart | 17 +++++++++-------- lib/src/phrase_scrape.dart | 2 +- pubspec.yaml | 4 ++-- 4 files changed, 17 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e98d93c..4268235 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 2.0.4 + +- Fixed bug where pieces were missing in example sentences +- Fixed bug where some scrapeForPhrase searches would crash for no apparent reason. + ## 2.0.3 - Bug fixes diff --git a/lib/src/example_search.dart b/lib/src/example_search.dart index d8c93d6..853b780 100644 --- a/lib/src/example_search.dart +++ b/lib/src/example_search.dart @@ -92,17 +92,18 @@ List _getKanjiAndKana(Element div) { return [kanji, kana]; } -Element normalizeSentenceElement(Element sentenceElement) => - Element.html('