Problem:
Lemmas, Glosses and Representations on a Lexeme do not handle whitespace at the beginning and end of the input correctly. They should be handled in the same way as on Items. Additional whitespace at the beginning or end of input should be stripped before saving. Existing input that is changed to have a whitespace at the beginning or end should leave to the save/publish link staying grayed out.
Currently the input for Lemmas throws an error and the input for Glosses and Representations is accepted as-is.
Acceptance criteria:
- Input via the API and UI that contains whitespace at the beginning or end of a Lemma, Gloss or Representation is stripped of that whitespace before saving.