sillsdev / SpeechAnalyzer

SIL Speech Analyzer is a Windows program for acoustic analysis of speech sounds.
https://software.sil.org/speech-analyzer/
7 stars 3 forks source link

fix: Remove optional <span> elements for Gloss and Reference during Lift export #75

Closed darcywong00 closed 2 years ago

darcywong00 commented 2 years ago

Fixes #72

This removes the optional <span> elements in some <text> elements during Lift export.

The change is limited to gloss and reference fields. I was not able to remove the <span> elements in the label, because FLEx would throw exceptions in the Lift validation.

Jennifer tested and noted:

As you said, looks like the gloss and reference number white space issues are taken care of, but the label still has white space. Texts and words seem to function fine now.

She's fine with the extra whitespace in the labels.