mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-19 16:01:34 +02:00
Fix line wrapping in PDF
This commit is contained in:
parent
de31d77235
commit
55e7a04bd2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1113,7 +1113,7 @@ NINJA.processItem = function(item, section) {
|
||||
item.style.push(section);
|
||||
|
||||
// make sure numbers aren't wrapped
|
||||
if (item.text && item.text.match && item.text.match(/\d\.\d\d|\d,\d\d/)) {
|
||||
if (item.text && item.text.match && item.text.match(/\d[.,]\d\d($| [A-Z]{3}$)/)) {
|
||||
item.style.push('noWrap');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user