A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
clipper: skip style inlining if property not present Signed-off-by: 01zulfi <[email protected]>
01zulfi879a65a41c61
diff --git a/packages/clipper/src/styles.ts b/packages/clipper/src/styles.tsindex e41040535..088ab8bbd 100644--- a/packages/clipper/src/styles.ts+++ b/packages/clipper/src/styles.ts@@ -179,6 +179,7 @@ async function processStyleRule(const baseUrl = sheet.href || document.location.href;for (const property of rule.style) {const oldValue = rule.style.getPropertyValue(property);+ if (!oldValue) continue;const resolved = await inlineAll(oldValue, options, baseUrl, !inline);rule.style.setProperty(property, resolved);}