startup custom macros don't compile on browser refresh
Tested in Chrome and Firefox.
When a user refreshes the browser manually (e.g., using F5) or the browser self-refreshes (e.g., mobile devices do this), custom macros defined with the startup tag do not parse correctly, throwing the error
I can't call ...whatever this is because it isn't a custom macro. I tried to use a macro, but its call wasn't written correctly.
Here is a minimum breaking code example with 2 passages.
PASSAGE 1. Tags: startup
(set: $myMacro to (macro: str-type _s, [ (output:)[ _s] ] )) Here is my startup custom macro: ($myMacro: "testing testing") Refresh the page. Is it alive? Yes. [[Next page->next-page]]
PASSAGE 2. next-page
Here is my startup custom macro: ($myMacro: "testing testing") Refresh the page. Is it alive? No.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information