Modified handling of edXxml to remove spaces after ampersand and dollar sign introduced by plasTeX, and handled text and tail content