public void build() { Text = Text.Replace("\n", ""); if (Type == TypeOfCommand.Eval) { HTML = CommandEngine.getHTMLEval(Text); } else if (Type == TypeOfCommand.Plot) { HTML = CommandEngine.getHTMLPlot(Text); } else { HTML = Text; } }