Skip to content

Commit 7a63be2

Browse files
committed
rake update[0.11.06]
1 parent 9881a39 commit 7a63be2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

lib/temml/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
module Temml
66
VERSION = '0.30.0'
7-
TEMML_VERSION = '0.11.05'
7+
TEMML_VERSION = '0.11.06'
88
end

vendor/temml/javascripts/temml.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,10 +772,12 @@ var temml = (function () {
772772
// TODO: Remove when Chromium stretches \widetilde & \widehat
773773
const estimatedWidth = node => {
774774
let width = 0;
775-
if (node.body) {
775+
if (node.body && Array.isArray(node.body)) {
776776
for (const item of node.body) {
777777
width += estimatedWidth(item);
778778
}
779+
} else if (node.body) {
780+
width += estimatedWidth(node.body);
779781
} else if (node.type === "supsub") {
780782
width += estimatedWidth(node.base);
781783
if (node.sub) { width += 0.7 * estimatedWidth(node.sub); }
@@ -12059,7 +12061,7 @@ var temml = (function () {
1205912061
* https://mit-license.org/
1206012062
*/
1206112063

12062-
const version = "0.11.05";
12064+
const version = "0.11.06";
1206312065

1206412066
function postProcess(block) {
1206512067
const labelMap = {};

0 commit comments

Comments
 (0)