Skip to content

Keep list attribute lines inside open code spans - #329

Merged
dereuromark merged 1 commit into
masterfrom
fix/327-inline-code-attribute
Oct 22, 2026
Merged

dereuromark merged 1 commit into
masterfrom
fix/327-inline-code-attribute

Conversation

@dereuromark

Copy link
Copy Markdown
Contributor

Summary

Keep a standalone attribute line inside a plain list paragraph's open code span. The list parser tracks backtick delimiters in that paragraph while skipping links, autolinks, and inline attributes.

Adds regressions for the reported input and attributes after fenced blocks, divs, headings, quotes, and inline constructs.

Checks

  • PHPUnit: 4,640 tests, 31,241 assertions passed
  • PHP_CodeSniffer: passed on changed files
  • PHPStan: no errors

Closes #327

@dereuromark dereuromark added the bug Something isn't working label Oct 22, 2026
@codecov

codecov Bot commented Oct 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.25%. Comparing base (4ccf5cc) to head (59b5b29).

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #329      +/-   ##
============================================
+ Coverage     93.21%   93.25%   +0.04%     
- Complexity     4815     4867      +52     
============================================
  Files           118      118              
  Lines         12821    12901      +80     
============================================
+ Hits          11951    12031      +80     
  Misses          870      870              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dereuromark
dereuromark merged commit 3f197fa into master Oct 22, 2026
6 checks passed
@dereuromark
dereuromark deleted the fix/327-inline-code-attribute branch October 22, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attribute line escapes an open inline code span in a list item

1 participant