milahu
milahu
```js // TODO why is the initial _path array not empty? _path = [createCanvasEvent('beginPath', undefined, {})]; ``` this should probably be empty in the `Path2D` class since the method `path2d.beginPath`...
slightly related: libiconv should not be searched on linux on linux, it always says ``` Library iconv found: NO ``` i solved this with ```meson # Aegisub/meson.build iconv_found = false...
one problem is that vite throws these usless stack traces ``` Error: offset is longer than source length! at numberToPos (node_modules/vite/dist/node/chunks/dep-972722fa.js:4247:15) at formatError (node_modules/vite/dist/node/chunks/dep-972722fa.js:51169:24) at TransformContext.error (node_modules/vite/dist/node/chunks/dep-972722fa.js:51149:19) at Object.transform (node_modules/vite/dist/node/chunks/dep-972722fa.js:51357:25)...
digging deeper node_modules/mdsvex/dist/main.cjs.js ```js // line 8722 if (namedEntity) { entityCharacters = characters; entity = namedEntity; } // DEBUG console.log(`\n\nmdsvex cjs 8727: found entity in ${characters}. named ${namedEntity}. type ${type}`);...
quickfix ```js // cjs js line 8716 if (terminated) { end++; namedEntity = type === name$1 ? decodeEntity_1(characters) : false; // QUICKFIX if (namedEntity == '') namedEntity = '>'; if...
> can you check to see if [this issue](https://github.com/pngwn/MDsveX/issues/301) is reporting the same problem? yes, its a duplicate source here ```md Lorem ipsum < dolor sit ``` source there ```md...
> when mdsvex moves to a different parser. in the mean time, you could use patch-package to patch the dependency `remark-parse.markdown` so that your consumers dont need to patch mdsvex
> Might that be it? yepp ```console $ cd MDsveX/packages/mdsvex $ sed -i 's/sourcemap: false/sourcemap: true/' rollup.config.js $ npm run build $ npm i -g source-map-cli $ source-map resolve dist/main.cjs.js.map...
> Cannot see how you could handle ragel machines that have c-comments in their dispatch actions. `/*` and `*/` could be escaped with a noop token → `/\%*` and `*\%/`...
> templates.dropdown is fast, cos it only concats strings quote from [jQuery forums](https://forum.jquery.com/topic/help-optimizing-html-function) > If string concatenation is the bottleneck in this calculation than you should try storing the string...