[TwigBridge] fixed the translator extractor that were not trimming the text in trans tags (closes #7056)

Trimming was not done by the extractor but it was the default behavior
of the TransNode class. Now, things are consistent between the two.