Slight fix to custom marked renderer