[ 
https://issues.apache.org/jira/browse/NIFI-14071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17947834#comment-17947834
 ] 

ASF subversion and git services commented on NIFI-14071:
--------------------------------------------------------

Commit edc23beb1076eaa2dd94ba5f42ee9ff6ef8aa4a5 in nifi's branch 
refs/heads/main from Samar Pratap Singh
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=edc23beb10 ]

NIFI-14071: Labels not rendering lines starting with spaces (#9888)

* Do the some code changes on canvas-utils.service related to label no 
correctly shows.

* added previous comments

* Fix text wrapping by preserving only leading whitespace at line start

* Add optimization to only prepend leading whitespace when needed to improve 
label resize performance

This closes #9888

> Labels not rendering lines starting with spaces
> -----------------------------------------------
>
>                 Key: NIFI-14071
>                 URL: https://issues.apache.org/jira/browse/NIFI-14071
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>    Affects Versions: 2.0.0
>            Reporter: Mark Payne
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> I created a label with some text like:
> {code:java}
> Things I care about:
> - NiFi
>   - Especially the back end
> - AI
>   - Especially Gen AI{code}
> When I applied the label I found that the indented lines did not render - 
> they just showed as blank lines. It appears to always be the case. When a 
> line starts with a space, it does not render that line.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to