Fix MatML attribute adjustment
Case was wrong and tagName was checked as key instead of "definitionurl"
This commit is contained in:
@@ -15,7 +15,7 @@ NS_INLINE void AdjustMathMLAttributes(HTMLTagToken *token)
|
||||
{
|
||||
NSString *lowercase = token.attributes[@"definitionurl"];
|
||||
if (lowercase != nil) {
|
||||
[token.attributes replaceKey:lowercase withKey:@"definitionUrl"];
|
||||
[token.attributes replaceKey:@"definitionurl" withKey:@"definitionURL"];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user