refactored MathML tags
strip line breaks from expressions before parsing
added value and space for mathml