Skip to content

Normalize configured schemes and fix XHTML footnotes#162

Merged
dereuromark merged 1 commit intomasterfrom
feature/fix-scheme-normalization-and-xhtml-footnotes
Apr 1, 2026
Merged

Normalize configured schemes and fix XHTML footnotes#162
dereuromark merged 1 commit intomasterfrom
feature/fix-scheme-normalization-and-xhtml-footnotes

Conversation

@dereuromark
Copy link
Copy Markdown
Contributor

Summary

  • normalize configured scheme lists in SafeMode and LinkPolicy so mixed-case configuration behaves correctly
  • render the footnotes separator as <hr /> in XHTML mode
  • add regression tests for mixed-case scheme configuration and XHTML footnote output

Verification

  • vendor/bin/phpunit tests/TestCase/SafeModeTest.php tests/TestCase/LinkPolicyTest.php tests/TestCase/DjotConverterTest.php
  • vendor/bin/phpstan analyse src --no-progress
  • vendor/bin/phpunit

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.82%. Comparing base (e5b8a4b) to head (2b958a3).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #162      +/-   ##
============================================
+ Coverage     93.78%   93.82%   +0.03%     
- Complexity     3041     3044       +3     
============================================
  Files            93       93              
  Lines          7833     7833              
============================================
+ Hits           7346     7349       +3     
+ Misses          487      484       -3     

☔ View full report in Codecov by Sentry.
📢 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 bb254a1 into master Apr 1, 2026
6 checks passed
@dereuromark dereuromark deleted the feature/fix-scheme-normalization-and-xhtml-footnotes branch April 1, 2026 17:14
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

Successfully merging this pull request may close these issues.

1 participant