OCPBUGS-105611: [release-4.22] Fix leading whitespace in Quick Start execute code snippets - #16951
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@gauron99: This pull request references Jira Issue OCPBUGS-98159, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/retest ci/prow/backend |
|
/test backend |
|
/retest |
|
/test backend |
|
/jira cherrypick OCPBUGS-98159 |
|
@gauron99: Jira Issue OCPBUGS-98159 has been cloned as Jira Issue OCPBUGS-105611. Will retitle bug to link to clone. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@gauron99: This pull request references Jira Issue OCPBUGS-105611, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@gauron99: This pull request references Jira Issue OCPBUGS-105611, which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@gauron99: This pull request references Jira Issue OCPBUGS-105611, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@gauron99: This pull request references Jira Issue OCPBUGS-105611, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/label backport-risk-assessed |
|
Scheduling tests matching the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gauron99, logonoff The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/verified by @gauron99 |
|
@gauron99: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/retest |
|
@gauron99: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
c62b7cd
into
openshift:release-4.22
|
@gauron99: Jira Issue Verification Checks: Jira Issue OCPBUGS-105611 Jira Issue OCPBUGS-105611 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |


Analysis / Root cause:
The
<pre>and<code>tags in the Quick Start {{execute}} code snippet HTML templates are on separatelines with indentation between them. Since
<pre>preserves all whitespace literally, the newline andspaces between
<pre>and<code>render as a visible leading blank line in the code block.This was fixed on main incidentally by commit 552dc84 (CONSOLE-5434) but never backported to release
branches.
Solution description:
Collapse
<pre>and<code>onto a single line in both inline-execute-extension.ts andmultiline-execute-extension.ts, removing the whitespace that
<pre>was preserving. This matches what isalready on main.
Screenshots / screen recording:


Before:
After:
Test setup:
Test cases:
Browser conformance: