File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -159,9 +159,10 @@ parse_section() {
159159 else
160160 DESCR_BUFF=$( echo " $section " | yq -M ' .properties.' " $PROP " ' .description' )
161161 fi
162- DESCR_BUFF=" ${DESCR_BUFF: 1:- 1} " # Removes first and last quotes "
163- DESCR_BUFF=" ${DESCR_BUFF// \\\" / \" } " # Removes escaped quotes "
164- DESCR_BUFF=" ${DESCR_BUFF//:/ \\ : } " # Escapes colons
162+ DESCR_BUFF=" ${DESCR_BUFF: 1:- 1} " # Removes first and last quotes "
163+ DESCR_BUFF=" ${DESCR_BUFF// \\\" / \" } " # Removes escaped quotes "
164+ DESCR_BUFF=" ${DESCR_BUFF//:/ \\ : } " # Escapes colons
165+ DESCR_BUFF=" ${DESCR_BUFF// \\ n/ } " # Replace newlines with spaces
165166 DESCR_BUFF=" $( sed ' s|Eclipse Che|{prod-short}|g' <<< $DESCR_BUFF ) "
166167 DESCR_BUFF=" $( sed ' s|Che |{prod-short} |g' <<< $DESCR_BUFF ) "
167168
You can’t perform that action at this time.
0 commit comments