So, this is how you can accomplish it when using a DynamicContent type as the related content. It'll need to be modified to work with ContentBlock but, the idea is there.
<%# (DynamicContent)(Eval("CustomContent")) != null ? "<
>" + new DynamicLinksParser(true, true).Apply(((Lstring)Eval("CustomContent.Content")).Value) + "</
>" : null %>