Is there a function in MediaWiki core that applies "nowiki" transformations to a string? For example, I'm writing a parser function, and I want its output to be the literal string:
'''foo'''
and not a boldface <b>foo</b>.
I tried CoreParserTags::nowiki(), but this only escapes angled brackets.
Thanks, DanB