Skip to content

Commit

Permalink
Revert "Replace readability parser with mercury"
Browse files Browse the repository at this point in the history
This reverts commit 78eeb9f.
  • Loading branch information
msasikanth committed Sep 18, 2024
1 parent 43955ce commit 5cea4bd
Show file tree
Hide file tree
Showing 4 changed files with 234 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async function renderReaderView(link, html, colors) {
);

//noinspection JSUnresolvedVariable
const result = await Mercury.parse(link, { html: html });
const result = await parse(html, link);
const content = result.content || html;

document.getElementById("content").innerHTML += content;
Expand Down

This file was deleted.

Loading

0 comments on commit 5cea4bd

Please sign in to comment.