-
-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
C-upstream-bugCategory: This is a bug of compiler or dependencies (the fix may require action in the upstream)Category: This is a bug of compiler or dependencies (the fix may require action in the upstream)
Description
I have lines like this in my codebase:
if !matches!(it.next(), Some('A'..='Z') | Some('А'..='Я')) {
return false;
}
Generating html with such command cargo llvm-cov --html test
.
For letter 'Я' resulted html code looks like this:
='\320<span class='tooltip-content'>5</span></div>\257'
so html generator breaks valid utf-8 sequence for 'Я' (\320\257
) into two parts and insert html code between,
making it invalid.
Metadata
Metadata
Assignees
Labels
C-upstream-bugCategory: This is a bug of compiler or dependencies (the fix may require action in the upstream)Category: This is a bug of compiler or dependencies (the fix may require action in the upstream)