Is there a way to show Link caption as HTML?

I have a search result page and want to highlight the matched term in the link. But I cannot find a way to render the Link’s caption as HTML, similarly to Label’s contentMode.


I think that’s not possible, as a workaround you can use a Label with html content:

new Label("Foo <b><a href=\"\">bar</a></b>", Label.CONTENT_XHTML);