_hyperscript icon indicating copy to clipboard operation
_hyperscript copied to clipboard

[Bug] put <value> after <html-element> prepends rather than appends

Open rozek opened this issue 3 years ago • 0 comments

the following code

put '' into #Output
put 0 after Output
repeat for x in [1,2,3,4,5]
  put x after #Output
end

referring to the following <span>

<span id="Output"></span>

finally shows 543210 in #Output rather than the expected 012345

Addendum: using append to instead of put after works as intended

rozek avatar Jul 26 '22 08:07 rozek