| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:f194e060-7c2f-cf80-47fe-e6e74938de6b |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | A096:11D5EA:403EE:578B6:6AEBC33A |
| html-safe-nonce | d07a4217c5b7eed1746dcc4d7adacc4dfe7f34c6f3834980889a0166d352b6e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDk2OjExRDVFQTo0MDNFRTo1NzhCNjo2QUVCQzMzQSIsInZpc2l0b3JfaWQiOiI0NTMzMDE0MjQ1MjY2OTMyNTM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fbb9881d21bffa37a08e140c9f245e70901849207fee637e382df0ee4af1787e |
| hovercard-subject-tag | discussion:8354886 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/discussions_fragments/discussion_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/adbar/trafilatura/799/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/71183d0593f8b5f948e3aa4802ef50ccc497bedf119a09ec9eeb3c1d0a445864/adbar/trafilatura/discussions/799 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/71183d0593f8b5f948e3aa4802ef50ccc497bedf119a09ec9eeb3c1d0a445864/adbar/trafilatura/discussions/799 |
| og:image:alt | Question In what situations does trafilatura output a newline when doing plain text extraction? Explanation I am using trafilatura to extract plain text from HTML, which I process further with spac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4c39b5a5177867789999269ddf5ae2221b00c4ac9fe1487d3a72e97b69db173e |
| turbo-cache-control | no-preview |
| go-import | github.com/adbar/trafilatura git https://github.com/adbar/trafilatura.git |
| octolytics-dimension-user_id | 2125866 |
| octolytics-dimension-user_login | adbar |
| octolytics-dimension-repository_id | 180136168 |
| octolytics-dimension-repository_nwo | adbar/trafilatura |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 180136168 |
| octolytics-dimension-repository_network_root_nwo | adbar/trafilatura |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c520692f02ba50d045716bcd724a71f0fc5f7d96 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/adbar/trafilatura/discussions/799#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadbar%2Ftrafilatura%2Fdiscussions%2F799 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadbar%2Ftrafilatura%2Fdiscussions%2F799 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=adbar%2Ftrafilatura |
| Reload | https://github.com/adbar/trafilatura/discussions/799 |
| Reload | https://github.com/adbar/trafilatura/discussions/799 |
| Reload | https://github.com/adbar/trafilatura/discussions/799 |
| adbar | https://github.com/adbar |
| trafilatura | https://github.com/adbar/trafilatura |
| Code | https://github.com/adbar/trafilatura |
| Issues50 (50) | https://github.com/adbar/trafilatura/issues |
| Pull requests22 (22) | https://github.com/adbar/trafilatura/pulls |
| Discussions | https://github.com/adbar/trafilatura/discussions |
| Actions | https://github.com/adbar/trafilatura/actions |
| Security and quality | https://github.com/adbar/trafilatura/security |
| Insights | https://github.com/adbar/trafilatura/pulse |
|
billziss-gh
| https://github.com/billziss-gh |
| Q&A | https://github.com/adbar/trafilatura/discussions/categories/q-a |
|
Plain text extraction and newlines
| https://github.com/adbar/trafilatura/discussions/799#top |
|
billziss-gh
| https://github.com/billziss-gh |
| Return to top | https://github.com/adbar/trafilatura/discussions/799#top |
| Please reload this page | https://github.com/adbar/trafilatura/discussions/799 |
| https://github.com/adbar/trafilatura/discussions/799 |
|
billziss-gh
| https://github.com/billziss-gh |
|
May 21, 2025
| https://github.com/adbar/trafilatura/discussions/799#discussion-8354886 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadbar%2Ftrafilatura%2Fdiscussions%2F799 |
|
🙏
Q&A
| https://github.com/adbar/trafilatura/discussions/categories/q-a |
|
| https://github.com/billziss-gh |
| https://github.com/adbar/trafilatura/discussions/799 |
| https://github.com/settings/replies?return_to=1 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |