embedbuilder icon indicating copy to clipboard operation
embedbuilder copied to clipboard

fixed headings working inside of code blocks

Open x1xo opened this issue 1 year ago • 1 comments

Summary by Sourcery

This pull request addresses a bug where headings were not being rendered correctly when inside code blocks. The logic for handling headings has been moved to ensure proper rendering.

  • Bug Fixes:
    • Fixed an issue where headings were not rendered correctly inside code blocks.

x1xo avatar Jul 03 '24 09:07 x1xo

Reviewer's Guide by Sourcery

This pull request addresses the issue of headings not working correctly inside code blocks. The changes involve moving the heading replacement logic to occur after the inline code processing, ensuring that headings are properly formatted even when they appear within code blocks.

File-Level Changes

Files Changes
assets/js/script.js Reorganized the heading replacements to occur after inline code processing to ensure headings are correctly processed even when inside code blocks.

Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • Continue your discussion with Sourcery by replying directly to review comments.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

sourcery-ai[bot] avatar Jul 03 '24 09:07 sourcery-ai[bot]