mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
Fix copying options in auto render (#1623)
This commit is contained in:
@@ -85,7 +85,7 @@ const renderMathInElement = function(elem, options) {
|
||||
// Object.assign(optionsCopy, option)
|
||||
for (const option in options) {
|
||||
if (options.hasOwnProperty(option)) {
|
||||
optionsCopy[option] = option;
|
||||
optionsCopy[option] = options[option];
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user