Using angle brackets inside of doxygen comments breaks the syntax highlighting. After the opening <, the highlighting changes and only gets back to "comment mode" after the closing > of _another_ tag. Example: /** * Lorem <ipsum> dolor <sit> amet. */ It's probably related to the old bug #155100 .
This is a problem in KF5::SyntaxHighlighting. Moving.
I suggest to replace String="<\/?[\w0-9._:-@]+" with String="<\/?[-\w0-9._:@]+" Implemented here: https://github.com/jonathanpoelen/syntax-highlighting/commit/ba0034b78d929eddf4ffe044b597ffd558dd22cf