René's URL Explorer Experiment


Title: HTML parser crash: HTML_BOGUS cast failure on '<' character in text content · Issue #8363 · biomejs/biome · GitHub

Open Graph Title: HTML parser crash: HTML_BOGUS cast failure on '<' character in text content · Issue #8363 · biomejs/biome

X Title: HTML parser crash: HTML_BOGUS cast failure on '<' character in text content · Issue #8363 · biomejs/biome

Description: Environment Biome version: 2.3.8 Node.js version: v25.2.1 OS: macOS Darwin 25.1.0 (darwin-arm64) Description When running biome check on HTML files, Biome crashes with an internal error when it encounters a < character followed by a numb...

Open Graph Description: Environment Biome version: 2.3.8 Node.js version: v25.2.1 OS: macOS Darwin 25.1.0 (darwin-arm64) Description When running biome check on HTML files, Biome crashes with an internal error when it enc...

X Description: Environment Biome version: 2.3.8 Node.js version: v25.2.1 OS: macOS Darwin 25.1.0 (darwin-arm64) Description When running biome check on HTML files, Biome crashes with an internal error when it enc...

Opengraph URL: https://github.com/biomejs/biome/issues/8363

X: @github

direct link

Domain: redirect.github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HTML parser crash: HTML_BOGUS cast failure on '\u003c' character in text content","articleBody":"## Environment\n\n- **Biome version**: 2.3.8\n- **Node.js version**: v25.2.1\n- **OS**: macOS Darwin 25.1.0 (darwin-arm64)\n\n## Description\n\nWhen running `biome check` on HTML files, Biome crashes with an internal error when it encounters a `\u003c` character followed by a number in text content (e.g., `\u003c12 months`).\n\nWhile Biome correctly identifies this as a parse error (it expects `\u003c` to start a tag), the internal handling causes a thread panic with `HTML_BOGUS` cast failure.\n\n## Error Message\n\n```\nBiome encountered an unexpected error\n\nThis is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue.\n\nSource Location: /Users/runner/work/biome/biome/crates/biome_rowan/src/ast/mod.rs:206:13\nThread Name: biome::workspace_worker_0\nMessage: Tried to cast node with kind HTML_BOGUS as \"biome_html_syntax::generated::nodes::HtmlRoot\" but was unable to cast\n```\n\n## Minimal Reproduction\n\nCreate a file `test.html`:\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n    \u003ctitle\u003eTest\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \u003cdiv\u003eTarget \u003c12 months\u003c/div\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\nRun:\n```bash\nnpx @biomejs/biome check test.html\n```\n\nThe parse error is expected (Biome interprets `\u003c12` as an invalid tag start), but the crash with `HTML_BOGUS` cast failure should not occur.\n\n## Expected Behavior\n\nBiome should report the parse error gracefully without crashing. The error message for the parse issue is fine:\n\n```\ntest.html:7:17 parse ━━━━━━━━━━━━━━━━━━━━━━━━\n\n  × Expected an attribute but instead found '\u003c'.\n\n  \u003e 7 │     \u003cdiv\u003eTarget \u003c12 months\u003c/div\u003e\n      │                 ^\n```\n\nBut after reporting this, it should continue processing without the internal `HTML_BOGUS` cast failure.\n\n## Additional Context\n\n- The error occurred multiple times (4 times in my case) when running on a directory with multiple HTML files containing similar patterns\n- No `biome.json` configuration file was present (default settings)\n- The `\u003c` followed by a number pattern (like `\u003c12`) is common in content discussing metrics, comparisons, or mathematical expressions","author":{"url":"https://github.com/aledlie","@type":"Person","name":"aledlie"},"datePublished":"2025-12-04T20:01:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/8363/biome/issues/8363"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e57becd1-9c10-6705-60f6-37b1fc0a9186
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD8CE:1A6C93:361C1C0:47D8497:6A655D46
html-safe-nonceb541dda581fbc3cf549c452b64f69bf7afdf9a4a2cde41d59cebd6885a5440ae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOENFOjFBNkM5MzozNjFDMUMwOjQ3RDg0OTc6NkE2NTVENDYiLCJ2aXNpdG9yX2lkIjoiODc5ODkxOTE2NDAxMzQwMzQ2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6c41ece3f58886c1ac0320ea615886526eacdef95c04e5465c0141aa9c911969
hovercard-subject-tagissue:3696311194
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/biomejs/biome/8363/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f9a407838305f8a539b2ee9b37bd308906501dac094012ce8f0616c8e63bcc30/biomejs/biome/issues/8363
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f9a407838305f8a539b2ee9b37bd308906501dac094012ce8f0616c8e63bcc30/biomejs/biome/issues/8363
og:image:altEnvironment Biome version: 2.3.8 Node.js version: v25.2.1 OS: macOS Darwin 25.1.0 (darwin-arm64) Description When running biome check on HTML files, Biome crashes with an internal error when it enc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealedlie
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-preview
go-importgithub.com/biomejs/biome git https://github.com/biomejs/biome.git
octolytics-dimension-user_id140182603
octolytics-dimension-user_loginbiomejs
octolytics-dimension-repository_id671654508
octolytics-dimension-repository_nwobiomejs/biome
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id671654508
octolytics-dimension-repository_network_root_nwobiomejs/biome
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/biomejs/biome/issues/8363#start-of-content
https://redirect.github.com/
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbiomejs%2Fbiome%2Fissues%2F8363
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbiomejs%2Fbiome%2Fissues%2F8363
Sign up https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=biomejs%2Fbiome
Reloadhttps://redirect.github.com/biomejs/biome/issues/8363
Reloadhttps://redirect.github.com/biomejs/biome/issues/8363
Reloadhttps://redirect.github.com/biomejs/biome/issues/8363
Please reload this pagehttps://redirect.github.com/biomejs/biome/issues/8363
biomejs https://redirect.github.com/biomejs
biomehttps://redirect.github.com/biomejs/biome
Please reload this pagehttps://redirect.github.com/biomejs/biome/issues/8363
Notifications https://redirect.github.com/login?return_to=%2Fbiomejs%2Fbiome
Fork 1.1k https://redirect.github.com/login?return_to=%2Fbiomejs%2Fbiome
Star 25.4k https://redirect.github.com/login?return_to=%2Fbiomejs%2Fbiome
Code https://redirect.github.com/biomejs/biome
Issues 390 https://redirect.github.com/biomejs/biome/issues
Pull requests 113 https://redirect.github.com/biomejs/biome/pulls
Discussions https://redirect.github.com/biomejs/biome/discussions
Actions https://redirect.github.com/biomejs/biome/actions
Projects https://redirect.github.com/biomejs/biome/projects
Security and quality 0 https://redirect.github.com/biomejs/biome/security
Insights https://redirect.github.com/biomejs/biome/pulse
Code https://redirect.github.com/biomejs/biome
Issues https://redirect.github.com/biomejs/biome/issues
Pull requests https://redirect.github.com/biomejs/biome/pulls
Discussions https://redirect.github.com/biomejs/biome/discussions
Actions https://redirect.github.com/biomejs/biome/actions
Projects https://redirect.github.com/biomejs/biome/projects
Security and quality https://redirect.github.com/biomejs/biome/security
Insights https://redirect.github.com/biomejs/biome/pulse
Bughttps://redirect.github.com/biomejs/biome/issues?q=type:"Bug"
#8888https://github.com/biomejs/biome/pull/8888
#8913https://github.com/biomejs/biome/pull/8913
HTML parser crash: HTML_BOGUS cast failure on '<' character in text contenthttps://redirect.github.com/biomejs/biome/issues/8363#top
#8888https://github.com/biomejs/biome/pull/8888
#8913https://github.com/biomejs/biome/pull/8913
A-ParserArea: parserhttps://github.com/biomejs/biome/issues?q=state%3Aopen%20label%3A%22A-Parser%22
L-HTMLLanguage: HTML and super languageshttps://github.com/biomejs/biome/issues?q=state%3Aopen%20label%3A%22L-HTML%22
S-Bug-confirmedStatus: report has been confirmed as a valid bughttps://github.com/biomejs/biome/issues?q=state%3Aopen%20label%3A%22S-Bug-confirmed%22
S-Has workaroundStatus: has a workaround, so users can still work with the bughttps://github.com/biomejs/biome/issues?q=state%3Aopen%20label%3A%22S-Has%20workaround%22
HTML Stablizationhttps://github.com/biomejs/biome/milestone/12
https://github.com/aledlie
aledliehttps://github.com/aledlie
on Dec 4, 2025https://github.com/biomejs/biome/issues/8363#issue-3696311194
A-ParserArea: parserhttps://github.com/biomejs/biome/issues?q=state%3Aopen%20label%3A%22A-Parser%22
L-HTMLLanguage: HTML and super languageshttps://github.com/biomejs/biome/issues?q=state%3Aopen%20label%3A%22L-HTML%22
S-Bug-confirmedStatus: report has been confirmed as a valid bughttps://github.com/biomejs/biome/issues?q=state%3Aopen%20label%3A%22S-Bug-confirmed%22
S-Has workaroundStatus: has a workaround, so users can still work with the bughttps://github.com/biomejs/biome/issues?q=state%3Aopen%20label%3A%22S-Has%20workaround%22
Bughttps://redirect.github.com/biomejs/biome/issues?q=type:"Bug"
HTML StablizationNo due datehttps://github.com/biomejs/biome/milestone/12
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.