This is an automated email from the ASF dual-hosted git repository.

bbovenzi pushed a commit to branch v3-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-2-test by this push:
     new 9c146f2d7ce [v3-2-test] UI: Fix manual copy from Rendered Templates 
tab adding extra blank lines (#66221) (#66366)
9c146f2d7ce is described below

commit 9c146f2d7cefdd48e6f2a920e21fb84f1ea958b8
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue May 5 09:16:16 2026 -0400

    [v3-2-test] UI: Fix manual copy from Rendered Templates tab adding extra 
blank lines (#66221) (#66366)
    
    * UI: Fix manual copy from Rendered Templates tab adding extra blank lines
    
    * chore: fragment file removed
    (cherry picked from commit c5246b54b37e6864efe208911edd1b1b7b7261de)
    
    Co-authored-by: hojeong park <[email protected]>
---
 airflow-core/src/airflow/ui/src/pages/TaskInstance/RenderedTemplates.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/airflow-core/src/airflow/ui/src/pages/TaskInstance/RenderedTemplates.tsx 
b/airflow-core/src/airflow/ui/src/pages/TaskInstance/RenderedTemplates.tsx
index 6f6a7da599c..21bc715169e 100644
--- a/airflow-core/src/airflow/ui/src/pages/TaskInstance/RenderedTemplates.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/TaskInstance/RenderedTemplates.tsx
@@ -62,6 +62,7 @@ const RenderedTemplatesContent = () => {
                       <Box as="pre" borderRadius="md" fontSize="sm" m={0} 
overflowX="auto" p={2}>
                         <SyntaxHighlighter
                           language={language}
+                          lineProps={{ style: { display: "block" } }}
                           PreTag="div" // Prevents double <pre> nesting
                           showLineNumbers
                           style={style}

Reply via email to