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
improve web clipper
ammarahm-edea8796bfb3cf
diff --git a/apps/mobile/html/Web.bundle/site/constants.js b/apps/mobile/html/Web.bundle/site/constants.jsindex 63339c831..13b51a040 100755--- a/apps/mobile/html/Web.bundle/site/constants.js+++ b/apps/mobile/html/Web.bundle/site/constants.js@@ -395,12 +395,12 @@ span.attachment em::before {}.mce-content-body code[data-mce-selected="inline-boundary"]:not(pre code),-.hljs[data-mce-selected="inline-boundary"] {+.hljs[data-mce-selected="inline-boundary"]:not(pre code) {background-color: ${pageTheme.colors.nav} !important;}.mce-content-body code:not(pre code),-.hljs {+.hljs:not(pre code) {background-color: ${pageTheme.colors.nav} !important;border: 1px solid ${pageTheme.colors.border} !important;border-radius: 5px !important;@@ -596,6 +596,12 @@ th {background-color: ${pageTheme.colors.shade};}+pre code {+ background-color: transparent !important;+ font-size: 10pt !important;+ padding: 0px 0px 0px 0px !important;+}+`;if (pageTheme.colors.night) {diff --git a/apps/mobile/share/index.js b/apps/mobile/share/index.jsindex b85522897..aed5c9332 100644--- a/apps/mobile/share/index.js+++ b/apps/mobile/share/index.js@@ -157,7 +157,11 @@ function sanitize(html, baseUrl) {parser = replaceSrcWithAbsoluteUrls(parser, baseUrl);parser = fixCodeBlocks(parser);- return parser.outerHTML;+ let htmlString = parser.outerHTML;++ htmlString = htmlString + `<hr>${makeHtmlFromUrl(baseUrl)}`;++ return htmlString;}let defaultNote = {