Noting that markup might be null.
[JENKINS-18282] Noting retroactively.