Merged
Conversation
❌ Test ResultsStatus: Some tests failed! 🔍 Click to view failed testsTest Coverage ReportOverall Coverage Summary
Coverage by File/Directory
Coverage report generated at 2026-04-01T15:20:38.929Z |
melissag-ensemble
requested changes
Apr 1, 2026
Collaborator
melissag-ensemble
left a comment
There was a problem hiding this comment.
This is the old approach, we want the new approach: #580
❌ Test ResultsStatus: Some tests failed! 🔍 Click to view failed testsTest Coverage ReportOverall Coverage Summary
Coverage by File/Directory
Coverage report generated at 2026-04-01T15:25:31.730Z |
melissag-ensemble
requested changes
Apr 1, 2026
hlx_statics/components/code.js
Outdated
|
|
||
| export default function decoratePreformattedCode(block) { | ||
| const pre = block.querySelector('pre'); | ||
| const pre = block.querySelector('pre') || (block.tagName === 'PRE' && block) || null |
Collaborator
There was a problem hiding this comment.
Suggested change
| const pre = block.querySelector('pre') || (block.tagName === 'PRE' && block) || null | |
| const pre = block.querySelector('pre') || (block.tagName === 'PRE' && block) || null; |
melissag-ensemble
approved these changes
Apr 1, 2026
❌ Test ResultsStatus: Some tests failed! 🔍 Click to view failed testsTest Coverage ReportOverall Coverage Summary
Coverage by File/Directory
Coverage report generated at 2026-04-01T15:27:40.458Z |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix code line issue
ScreenShot
Issue
https://jira.corp.adobe.com/browse/DEVSITE-2323
Test URL
https://inline-code-block-issue--adp-devsite-stage--adobedocs.aem.page/express/add-ons/docs/guides/getting-started/local-development/dev-tooling#cli-create-options