Skip to content

Commit 06ed1c2

Browse files
committed
fix: Clean up wrappers in futura-sciences.com
1 parent 6502a94 commit 06ed1c2

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,18 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Romantic Versioning](https://github.com/romversioning/romver).
77

8+
## v.2.4.9
9+
10+
- fix: Clean up wrappers in futura-sciences.com
11+
- Revert "Add note" by @jocmp
12+
- Add note by @jocmp
13+
814
## v2.4.8
915

10-
- fix: Fix hardwarezone.com.sg missing paragraphs
16+
- bump version v2.4.7 -> v2.4.8 by @jocmp
17+
- fix: Fix hardwarezone.com.sg missing paragraphs by @jocmp in [#76](https://github.com/jocmp/mercury-parser/pull/76)
18+
19+
**Full Changelog**: https://github.com/jocmp/mercury-parser/compare/v2.4.7...v2.4.8
1120

1221
## v2.4.7
1322

src/extractors/custom/www.futura-sciences.com/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ export const WwwFuturaSciencesComExtractor = {
3030
ul: $node => $node.attr('class', 'mercury-parser-keep'),
3131
},
3232

33-
clean: ['.cWHWfD'],
33+
clean: ['.cWHWfD', 'span[class*="wrappers__Span"]'],
3434
},
3535
};

0 commit comments

Comments
 (0)