Issue #1790612 by carwin, Eric_A, mgifford: Fixed Sanitize the trim_length variable before printing it.