Fix marked behaviour resulting invalid documentation html generation