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: set downloaded stylesheet as html instead of text
Abdullah Attafd64c1cf2d71
diff --git a/packages/clipper/src/styles.ts b/packages/clipper/src/styles.tsindex 1eea8a7b6..747a34725 100644--- a/packages/clipper/src/styles.ts+++ b/packages/clipper/src/styles.ts@@ -54,7 +54,7 @@ async function downloadStylesheet(href: string, options?: FetchOptions) {const style = document.createElement("style");const response = await fetch(constructUrl(href, options));if (!response.ok) return false;- style.innerText = await response.text();+ style.innerHTML = await response.text();style.setAttribute("href", href);return style;} catch (e) {