fix for processMarkup call to parseMarkup

Somehow this was working in the unit tests and not in the index.html
page calls. This is the correct approach though.