From 73c8d145fa27be7f986dcb824c3dd84f566b5935 Mon Sep 17 00:00:00 2001 From: zadam Date: Wed, 25 Dec 2019 11:56:55 +0100 Subject: [PATCH] tar export fixes + added code block example to the demo document --- db/demo.tar | Bin 1148928 -> 1163776 bytes src/services/export/tar.js | 10 +++++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/db/demo.tar b/db/demo.tar index ae1b5bae8b707edb11dd981948baa0254eaf0a51..2748822c9aca7afca69e36cd7e22a6d3f47c7cd8 100644 GIT binary patch delta 45421 zcmd6Q2b>$#o$&YME{$vtwz1c^$a433S6$j&jPdr~`x;|ZMrBuRC2e(JO>hGE%a<4? zw=X1wl14%xaace{j-%xWq@E!cl8@XSEg|Ix!Q^s;%LTaqo1%R)+Gg2?!+0&ty!rR` z{_oA(1`3Twg0*#aL z#JZaM8wZP8`%>L}Op~X)@LA1oR}I#-w)I?`Dkr(IpIjcH>h1u|-X* z`s=F)-L3JeR7XQMb^q4um-5Yvn^xJ%+dG3^-+1j%I6~d#&%Usfe;MxA)p`<6Um2IG zsW@QS+ox^v>bARs{laYR!pKjh@s_|6I=xVfQ$cx(OdjmuQ(W5 z{5gSE007Y1@|ce^c)~I70B)T`oAAwFMke0etmR*ReFa{92z6m|G1|f(U%Uo?ssOFj zc`FC{xm0^|e|sH%<)HY4#0|rN*LF^Ds^i1;+FEW4f&x zs}tXK8`_7DE<($vexiFt!+1NaeO1k#;=xGwFuwj<$ict0a*FA)4vx8+oc^AATj!kQ z(^zPUC;$-h_pE+Sh3xGrR1EP!i#Io-1N@0Koy>Sgt=Cak-8o=wXyoty%g(+TRZ865 zI166luoUSOMR11(kDm*pZTu(KZ=AYwZHtmHzSZ?9{>Jqj)8uS#4Gp#0x)K$g{C9Tl zotTxJxd@tzBo$E#a^W6LfKj`GPyE%$4_|f}f9T{Yh-{zX&lK;Rx+`xHQYevs?%@{x zgN?stVy!(L?od@jIhXM8Z~vlT-yGzt7~o&|$2HZn$x)C$ElU;ID#Cg8?ln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`9fZubD?7aJkp-Mdj*6`->BfRv66&xlJ%@?C)6J|Jab!wazE(j2}0 zpmaUtMTo=H+a&;t)KM@4IFc$|38sd@&VKj~OmG??@Gn*R2B;4fJ$47N=$m3HxXk#M z$me%K<3*FwF>FvENq~y~IGDV6@=j^@VtqY^6M?CU { const url = getTargetUrl(targetNoteId, noteMeta); - return url ? `src="${encodeURIComponent(url)}"` : match; + return url ? `src="${url}"` : match; }); content = content.replace(/href="[^"]*#root[a-zA-Z0-9\/]*\/([a-zA-Z0-9]+)\/?"/g, (match, targetNoteId) => { const url = getTargetUrl(targetNoteId, noteMeta); - return url ? `href="${encodeURIComponent(url)}"` : match; + return url ? `href="${url}"` : match; }); return content; @@ -263,7 +263,7 @@ ${content} if (noteMeta.isClone) { const targetUrl = getTargetUrl(noteMeta.noteId, noteMeta); - let content = `

This is a clone of a note. Go to its primary location.

`; + let content = `

This is a clone of a note. Go to its primary location.

`; content = prepareContent(noteMeta.title, content, noteMeta);