Return nil from `note_html` if no note given.

This matches the previous behaviour.