René's URL Explorer Experiment


Title: Allow HTML declarations with lowercase letters and without whitespace by wleeaf · Pull Request #469 · commonmark/commonmark-java · GitHub

Open Graph Title: Allow HTML declarations with lowercase letters and without whitespace by wleeaf · Pull Request #469 · commonmark/commonmark-java

X Title: Allow HTML declarations with lowercase letters and without whitespace by wleeaf · Pull Request #469 · commonmark/commonmark-java

Description: Since spec 0.30, a declaration is "the string , and the character >". The HTML block start condition 4 is " commonmark-java:

. cmark and commonmark.js: . HtmlInlineParser.tryDeclaration still requires whitespace after the letters, so inline and inline are escaped (<!FOO>). cmark and commonmark.js render them as inline HTML. 4ca7a59 ("Allow lowercase ASCII in HTML declaration (spec 0.30)") already updated the comment in tryDeclaration to the new wording and switched the inline check to any ASCII letter. It kept the whitespace check, though, and did not touch the block pattern. Changes: ^; inputs like " is now expected to be inline HTML, plus a lowercase case without whitespace. afterFailedAttempt used as the failing attempt; it now uses , which is still not HTML. The changed tests fail before the change and pass after. mvn test passes, except that PathologicalTest.paragraphOfLinesThatTryBlockStarts hit its 3 s timeout once on a heavily loaded machine. That test is unrelated and passes when run on its own, on main as well as on this branch. spotless:check is clean. Found by differential testing against cmark.

Open Graph Description: Since spec 0.30, a declaration is "the string <!, an ASCII letter, zero or more characters not including the character >, and the character >". The HTML block start condition 4 i...

X Description: Since spec 0.30, a declaration is &quot;the string &lt;!, an ASCII letter, zero or more characters not including the character &gt;, and the character &gt;&quot;. The HTML block...

Opengraph URL: https://github.com/commonmark/commonmark-java/pull/469

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c420fff4-4d1c-4751-694b-e03e17abc2c8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9D5E:1F7D:2A803:3CDD4:6AFBBB18
html-safe-nonce1e14f96feaf61c53ae819507f7c197234b1def5d68471ba3e07b0d3a28a6eedf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDVFOjFGN0Q6MkE4MDM6M0NERDQ6NkFGQkJCMTgiLCJ2aXNpdG9yX2lkIjoiNDc0MTkzOTU0MDY1MjcwMjQ4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc60a41bcf540d4f36aa927acdae46186ec2fbd06531e091b994b5e047792c681
hovercard-subject-tagpull_request:4996230781
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/commonmark/commonmark-java/pull/469/files
twitter:imagehttps://avatars.githubusercontent.com/u/179125857?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/179125857?s=400&v=4
og:image:altSince spec 0.30, a declaration is "the string <!, an ASCII letter, zero or more characters not including the character >, and the character >". The HTML block start condition 4 i...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/commonmark/commonmark-java git https://github.com/commonmark/commonmark-java.git
octolytics-dimension-user_id8661225
octolytics-dimension-user_logincommonmark
octolytics-dimension-repository_id39477878
octolytics-dimension-repository_nwocommonmark/commonmark-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id39477878
octolytics-dimension-repository_network_root_nwocommonmark/commonmark-java
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee4cce0e99cf61481a318ff12c2e8580153a6c7c6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/commonmark/commonmark-java/pull/469/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommonmark%2Fcommonmark-java%2Fpull%2F469%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommonmark%2Fcommonmark-java%2Fpull%2F469%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=commonmark%2Fcommonmark-java
Reloadhttps://github.com/commonmark/commonmark-java/pull/469/files
Reloadhttps://github.com/commonmark/commonmark-java/pull/469/files
Reloadhttps://github.com/commonmark/commonmark-java/pull/469/files
commonmarkhttps://github.com/commonmark
commonmark-javahttps://github.com/commonmark/commonmark-java
Codehttps://github.com/commonmark/commonmark-java
Issues9 (9)https://github.com/commonmark/commonmark-java/issues
Pull requests4 (4)https://github.com/commonmark/commonmark-java/pulls
Actionshttps://github.com/commonmark/commonmark-java/actions
Wikihttps://github.com/commonmark/commonmark-java/wiki
Security and quality8 (8)https://github.com/commonmark/commonmark-java/security
Insightshttps://github.com/commonmark/commonmark-java/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcommonmark%2Fcommonmark-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcommonmark%2Fcommonmark-java%2Fissues%2Fnew%2Fchoose
robinsthttps://github.com/robinst
commonmark:mainhttps://github.com/commonmark/commonmark-java/tree/main
wleeaf:fix-html-declaration-lettershttps://github.com/wleeaf/commonmark-java/tree/fix-html-declaration-letters
Conversation 2 https://github.com/commonmark/commonmark-java/pull/469
Commits 1 https://github.com/commonmark/commonmark-java/pull/469/commits
Checks 5 https://github.com/commonmark/commonmark-java/pull/469/checks
Files changed 4 https://github.com/commonmark/commonmark-java/pull/469/files
Allow HTML declarations with lowercase letters and without whitespace https://github.com/commonmark/commonmark-java/pull/469/files#top
Show all changes 1 commit https://github.com/commonmark/commonmark-java/pull/469/files
5167db6 Allow HTML declarations with lowercase letters and without whitespace wleeaf Oct 24, 2026 https://github.com/commonmark/commonmark-java/pull/469/commits/5167db6d89d09702fc2f08bfe0e38b45979de4cc
Clear filters https://github.com/commonmark/commonmark-java/pull/469/files
Please reload this pagehttps://github.com/commonmark/commonmark-java/pull/469/files
Please reload this pagehttps://github.com/commonmark/commonmark-java/pull/469/files
HtmlBlockParser.java https://github.com/commonmark/commonmark-java/pull/469/files#diff-ebdf41a8a97b443c49a63cf5f19d7fcc8319c6971fbd05b0296e465fa572cd69
HtmlInlineParser.java https://github.com/commonmark/commonmark-java/pull/469/files#diff-048cbb7bc9d5fa981e6558baa95e045bc0bbfebcdb2ff82c44ee8ab5e41701bf
HtmlInlineParserTest.java https://github.com/commonmark/commonmark-java/pull/469/files#diff-43cdd096078d5b5265bb5ca46a559f1bc67911cdc048ad05c75ac4716c8061a5
SpecialInputTest.java https://github.com/commonmark/commonmark-java/pull/469/files#diff-4a1de84f536f459e0b9249dda82d0152bf5867004b7b3edb33130aa6f3baf714
commonmark/src/main/java/org/commonmark/internal/HtmlBlockParser.javahttps://github.com/commonmark/commonmark-java/pull/469/files#diff-ebdf41a8a97b443c49a63cf5f19d7fcc8319c6971fbd05b0296e465fa572cd69
View file https://github.com/wleeaf/commonmark-java/blob/5167db6d89d09702fc2f08bfe0e38b45979de4cc/commonmark/src/main/java/org/commonmark/internal/HtmlBlockParser.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commonmark/commonmark-java/pull/469/{{ revealButtonHref }}
https://github.com/commonmark/commonmark-java/pull/469/files#diff-ebdf41a8a97b443c49a63cf5f19d7fcc8319c6971fbd05b0296e465fa572cd69
https://github.com/commonmark/commonmark-java/pull/469/files#diff-ebdf41a8a97b443c49a63cf5f19d7fcc8319c6971fbd05b0296e465fa572cd69
commonmark/src/main/java/org/commonmark/internal/inline/HtmlInlineParser.javahttps://github.com/commonmark/commonmark-java/pull/469/files#diff-048cbb7bc9d5fa981e6558baa95e045bc0bbfebcdb2ff82c44ee8ab5e41701bf
View file https://github.com/wleeaf/commonmark-java/blob/5167db6d89d09702fc2f08bfe0e38b45979de4cc/commonmark/src/main/java/org/commonmark/internal/inline/HtmlInlineParser.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commonmark/commonmark-java/pull/469/{{ revealButtonHref }}
https://github.com/commonmark/commonmark-java/pull/469/files#diff-048cbb7bc9d5fa981e6558baa95e045bc0bbfebcdb2ff82c44ee8ab5e41701bf
https://github.com/commonmark/commonmark-java/pull/469/files#diff-048cbb7bc9d5fa981e6558baa95e045bc0bbfebcdb2ff82c44ee8ab5e41701bf
commonmark/src/test/java/org/commonmark/test/HtmlInlineParserTest.javahttps://github.com/commonmark/commonmark-java/pull/469/files#diff-43cdd096078d5b5265bb5ca46a559f1bc67911cdc048ad05c75ac4716c8061a5
View file https://github.com/wleeaf/commonmark-java/blob/5167db6d89d09702fc2f08bfe0e38b45979de4cc/commonmark/src/test/java/org/commonmark/test/HtmlInlineParserTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commonmark/commonmark-java/pull/469/{{ revealButtonHref }}
https://github.com/commonmark/commonmark-java/pull/469/files#diff-43cdd096078d5b5265bb5ca46a559f1bc67911cdc048ad05c75ac4716c8061a5
https://github.com/commonmark/commonmark-java/pull/469/files#diff-43cdd096078d5b5265bb5ca46a559f1bc67911cdc048ad05c75ac4716c8061a5
commonmark/src/test/java/org/commonmark/test/SpecialInputTest.javahttps://github.com/commonmark/commonmark-java/pull/469/files#diff-4a1de84f536f459e0b9249dda82d0152bf5867004b7b3edb33130aa6f3baf714
View file https://github.com/wleeaf/commonmark-java/blob/5167db6d89d09702fc2f08bfe0e38b45979de4cc/commonmark/src/test/java/org/commonmark/test/SpecialInputTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commonmark/commonmark-java/pull/469/{{ revealButtonHref }}
https://github.com/commonmark/commonmark-java/pull/469/files#diff-4a1de84f536f459e0b9249dda82d0152bf5867004b7b3edb33130aa6f3baf714
https://github.com/commonmark/commonmark-java/pull/469/files#diff-4a1de84f536f459e0b9249dda82d0152bf5867004b7b3edb33130aa6f3baf714
Please reload this pagehttps://github.com/commonmark/commonmark-java/pull/469/files
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.