Skip to content

Commit

Permalink
ItemSet label: limit max length and handle line breaks #3256
Browse files Browse the repository at this point in the history
  • Loading branch information
alansemenov committed Sep 13, 2023
1 parent c28031d commit 912ae6c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@ export abstract class FormSetOccurrenceView
.replace(/<\/?[^>]+(>|$)/g, '') // removing tags
.replace(/&nbsp;/g, '') // removing spaces
.replace(/\s{2,}/g, ' ') // removing spaces
.replace(/\n/g, ' ') // removing linebreaks
.trim();
}

Expand Down

0 comments on commit 912ae6c

Please sign in to comment.