From 45b39230f969504d12af16e91058643b4220ac9b Mon Sep 17 00:00:00 2001 From: "FiveFilters.org" Date: Sun, 22 Aug 2021 13:56:23 +0200 Subject: Prefer JSON-LD metadata object, when present https://github.com/mozilla/readability/commit/2ca98284e92aecd610bac3008e5e6ff1c0fdad37 (getJSONLD() method based on current Readability.js implementation) --- test/test-pages/bbc-1/expected-metadata.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test-pages/bbc-1') diff --git a/test/test-pages/bbc-1/expected-metadata.json b/test/test-pages/bbc-1/expected-metadata.json index 6af682f..8d5937b 100644 --- a/test/test-pages/bbc-1/expected-metadata.json +++ b/test/test-pages/bbc-1/expected-metadata.json @@ -3,6 +3,6 @@ "Direction": null, "Excerpt": "President Barack Obama tells the BBC his failure to pass \"common sense gun safety laws\" is the greatest frustration of his presidency.", "Image": "http:\/\/ichef.bbci.co.uk\/news\/1024\/cpsprodpb\/3D8B\/production\/_84455751_84455749.jpg", - "Title": "Obama admits US gun laws are his 'biggest frustration' - BBC News", + "Title": "Obama admits US gun laws are his 'biggest frustration'", "SiteName": "BBC News" -} +} \ No newline at end of file -- cgit v1.2.3