Skip to content

Fix hljs code highlighting to preserve line breaks in Markdown rendering#7058

Merged
Steve-Mcl merged 2 commits intomainfrom
expert/fix-inline-code-indentation
Apr 9, 2026
Merged

Fix hljs code highlighting to preserve line breaks in Markdown rendering#7058
Steve-Mcl merged 2 commits intomainfrom
expert/fix-inline-code-indentation

Conversation

@cstns
Copy link
Copy Markdown
Contributor

@cstns cstns commented Apr 9, 2026

Description

fix inline code indentation. switched order of pre and code blocks in the markdown renderer to preserve indentation

Related Issue(s)

relates to #7049

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production
  • Link to Changelog Entry PR, or note why one is not needed.

Labels

  • Includes a DB migration? -> add the area:migration label

@cstns cstns requested a review from Steve-Mcl April 9, 2026 08:54
Copy link
Copy Markdown
Contributor

@Steve-Mcl Steve-Mcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confirmed

Image

@Steve-Mcl Steve-Mcl enabled auto-merge April 9, 2026 08:55
@Steve-Mcl Steve-Mcl merged commit 46230b5 into main Apr 9, 2026
35 of 37 checks passed
@Steve-Mcl Steve-Mcl deleted the expert/fix-inline-code-indentation branch April 9, 2026 09:20
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.29%. Comparing base (fff41da) to head (7331842).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7058   +/-   ##
=======================================
  Coverage   76.29%   76.29%           
=======================================
  Files         405      405           
  Lines       20348    20348           
  Branches     4895     4895           
=======================================
  Hits        15525    15525           
  Misses       4823     4823           
Flag Coverage Δ
backend 76.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

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.

2 participants