File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 44
55module Temml
66 VERSION = '0.30.0'
7- TEMML_VERSION = '0.11.05 '
7+ TEMML_VERSION = '0.11.06 '
88end
Original file line number Diff line number Diff 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 = { } ;
You can’t perform that action at this time.
0 commit comments