Properly render the task input in submission detail page.