stack.html logs to pre element