Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML tags inside title h1s appear as plaintext in output title #10

Open
anoved opened this issue Feb 15, 2023 · 0 comments
Open

HTML tags inside title h1s appear as plaintext in output title #10

anoved opened this issue Feb 15, 2023 · 0 comments

Comments

@anoved
Copy link
Owner

anoved commented Feb 15, 2023

Articles such as this include a div inside the main h1; readability seems to pick out the h1 as containing the article title (correctly), but does not strip the div tag. As a result, the article.title returned from readability's .parse() includes that bit of HTML, which appears as plaintext (eg in the browser title bar) when Columnate updates the page to use that "simplified" title.

<h1 class="blog-post-title"><div style="max-width: 480px;">What Is ChatGPT Doing … and Why Does It Work?</div></h1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant