Changing algorithm for trix_parsedvar to avoid new lines