Fix line wrapping

This commit is contained in:
Hillel Coren 2017-12-29 10:46:39 +02:00
parent 39f206245c
commit ec4490450c
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1371,7 +1371,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($| [A-Z]{3}$)/)) {
if (item.text && item.length && item.length < 20 && item.text.match && item.text.match(/\d[.,]\d\d($| [A-Z]{3}$)/)) {
item.style.push('noWrap');
}