Open strindhaug opened 10 months ago
👋 @strindhaug
💖 Thanks for opening this pull request! 💖
Please follow the contributing guidelines. And we use semantic commit messages to streamline the release process.
Examples of commit messages with semantic prefixes:
fix: don't overwrite prevent_default if default wasn't prevented
feat: add graph.scale() method
docs: graph.getShortestPath is now available
Things that will help get your PR across the finish line:
npm run lint
locally to catch formatting errors earlier.We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.
Patch coverage: 95.45%
and no project coverage change.
Comparison is base (
b751cbf
) 62.93% compared to head (225e357
) 62.93%. Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Btw, apparently I have a newer pnpm version because when I initialised the repo the pnpm-lock.yaml was modified automatically. Looking at the diff it's mostly updating the pnpm version number and reordered slightly. I chose not to commit this change to avoid lots of pointless autogenerated diffs.
BTW: Looks like 🏷️ Label(Patch Size) / run (pull_request_target)
is misconfigured, it seems to try to pull data about this PR but from my account where this PR is not present (and if I had made a PR to myself for some reason, it probably would not have the id 427).
I see several other PR's have this check failing.
Please, merge it((
Thanks to this PR, making a patch saved me.
Description
I noticed that when using html-to-image on our website it crashed with mysterious errors about invalid queries. I realised that the code does not handle external files in use-tags in an inline SVG.
Motivation and Context
Fix for https://github.com/bubkoo/html-to-image/issues/425 (and also implicitly for https://github.com/bubkoo/html-to-image/issues/392 )
Also in order for the test case to be useful I reduced the allowed number of incorrect pixels from 100 to 2, thus somewhat addressing https://github.com/bubkoo/html-to-image/issues/426 it could possibly now be a little too sensitive on other platforms such as Windows that use a different font rendering, but at least the new test and all the old tests ran om my Mac.
Types of changes
Self Check before Merge