ENYO-2485: do not trimWhitespace in case of shorthand form