BBob icon indicating copy to clipboard operation
BBob copied to clipboard

img tag cannot be parsed

Open corn-snake opened this issue 1 year ago • 1 comments

As title implies, adding any img tag will produce an error. image

Behaviour arises immediately upon typing a 'g' after [im and before ] image

corn-snake avatar Sep 26 '24 03:09 corn-snake

Looks like bug. Will be fixed soon

JiLiZART avatar Sep 26 '24 12:09 JiLiZART

My investigation revealed that esm.sh has caching issues. esm.sh is used to import modules in the demo.

/* esm.sh - @bbob/[email protected] */
import "/v135/@bbob/[email protected]/es2022/preset.mjs";
import "/v135/@bbob/[email protected]/es2022/plugin-helper.mjs";
export * from "/v135/@bbob/[email protected]/es2022/preset-html5.mjs";
export { default } from "/v135/@bbob/[email protected]/es2022/preset-html5.mjs";

It seems that esm.sh incorrectly pointed to version 3.0.2 of @bbob/preset while importing @bbob/[email protected].

I will look for an alternative service to handle ESM imports in the demo.

All tests that were causing the demo to break are now passing: https://github.com/JiLiZART/BBob/pull/263.

JiLiZART avatar Oct 16 '24 22:10 JiLiZART