Fix html markdown for span class="not-set" when time is not set

See #4000