You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
e217648c0b
* feat:Add a custom extractor for ma.ttias.be. When parsing content for cron.weekly issues, such as the one at https://ma.ttias.be/cronweekly/issue-130/, Mercury Parser would remove headings and ordered lists that were part of the content. This resolves that as follows: * Remove "id" attributes from "h1" and "h2" elements. Those attributes would result in the elements having a low weight. * Since Mercury Parser demotes "h1" elements to "h2", demote "h2" elements to "h3". * Add class="entry-content-asset" to "ul" elements to avoid them being removed. * removed redundant comment. Co-authored-by: John Holdun <john@johnholdun.com> |
2 years ago | |
---|---|---|
.. | ||
cleaners | 5 years ago | |
extractors | 2 years ago | |
resource | 2 years ago | |
shims | 5 years ago | |
utils | 5 years ago | |
mercury.js | 5 years ago | |
mercury.test.js | 5 years ago | |
test-helpers.js | 5 years ago |