Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the GeneratesTableOfContents internals to be more accurate #1343

Merged
merged 23 commits into from
Mar 22, 2023

Conversation

caendesilva
Copy link
Member

Replaces the start marker with a placeholder, shifting the list in the temporary HTML to the bottom if the document, making it easier and less "hacky" to extract out. Actual returned result is unaffected, with the exception that Setext headers are now supported, fixing #1337.

@caendesilva caendesilva added the run-visual-tests Internal label to trigger Browserstack visual testing label Mar 22, 2023
@caendesilva caendesilva force-pushed the fix-setext-sidebar-table-of-contents-bug branch from f008d99 to 95376fd Compare March 22, 2023 10:21
@caendesilva caendesilva marked this pull request as ready for review March 22, 2023 10:25
@caendesilva caendesilva merged commit 520bb2a into master Mar 22, 2023
@codecov
Copy link

codecov bot commented Mar 22, 2023

Codecov Report

Merging #1343 (95376fd) into master (b5c57d7) will not change coverage.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##              master     #1343     +/-   ##
=============================================
  Coverage     100.00%   100.00%             
- Complexity      1332      2668   +1336     
=============================================
  Files            152       304    +152     
  Lines           3474      6960   +3486     
=============================================
+ Hits            3474      6960   +3486     
Impacted Files Coverage Δ
...src/Framework/Actions/GeneratesTableOfContents.php 100.00% <100.00%> (ø)

... and 152 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@caendesilva caendesilva deleted the fix-setext-sidebar-table-of-contents-bug branch March 22, 2023 10:25
@caendesilva caendesilva removed the run-visual-tests Internal label to trigger Browserstack visual testing label Mar 18, 2024
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