Fix MatML attribute adjustment

Case was wrong and tagName was checked as key instead of "definitionurl"
This commit is contained in:
iska
2015-04-09 21:20:50 +02:00
parent c60f308ca5
commit bf821fb70d
+1 -1
View File
@@ -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"];
}
}