Exclude terminating `{` and similar characters from markup in class and function definitions in several languages.