mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix line wrapping in PDF
This commit is contained in:
parent
8103be4e46
commit
96b2cdc9d3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1111,7 +1111,7 @@ NINJA.processItem = function(item, section) {
|
|||||||
item.style.push(section);
|
item.style.push(section);
|
||||||
|
|
||||||
// make sure numbers aren't wrapped
|
// 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');
|
item.style.push('noWrap');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user