diff --git a/index.html b/index.html index 06d9707..d8aca00 100644 --- a/index.html +++ b/index.html @@ -1278,7 +1278,7 @@ function parseJXR( code ){ newcode = newcode.replace(/qs ([^\s]+)/ ,`document.querySelector('$1')`) // sa X Y => .setAttribute("X", "Y") - newcode = newcode.replace(/ sa ([^\s]+) ([^\s]+)/,`.setAttribute('$1','$2')`) + newcode = newcode.replace(/ sa ([^\s]+) (.*)/,`.setAttribute('$1','$2')`) // problematic for position as they include spaces newcode = newcode.replace(/obsv ([^\s]+)/ ,`newNoteFromObservableCell('$1')`) @@ -1742,14 +1742,33 @@ function loadCodeFromPage(url="https://fabien.benetou.fr/Analysis/BeyondTheCaseA - + + - + + + + + + + + + + + + + + + + + + +