mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-23 18:53:36 +02:00
Clipper: Upgrade joplin-turndonw to fix import of literal HTML code
This commit is contained in:
parent
d27cbaa663
commit
d5d0732bf3
@ -38,7 +38,7 @@
|
||||
"html-entities": "^1.2.1",
|
||||
"html-minifier": "^3.5.15",
|
||||
"image-type": "^3.0.0",
|
||||
"joplin-turndown": "^4.0.7",
|
||||
"joplin-turndown": "^4.0.8",
|
||||
"joplin-turndown-plugin-gfm": "^1.0.7",
|
||||
"jssha": "^2.3.0",
|
||||
"levenshtein": "^1.0.5",
|
||||
|
5
CliClient/tests/html_to_md/text_with_escaped_html.html
Normal file
5
CliClient/tests/html_to_md/text_with_escaped_html.html
Normal file
@ -0,0 +1,5 @@
|
||||
<p>Some text, not an image, so it should remain escaped:</p>
|
||||
<p><img src="http://test.com/image.png" /></p>
|
||||
<p><p class="testing">Paragraph example</p>
|
||||
<p>But this is code so it can be unescaped:</p>
|
||||
<pre><code><img src="http://test.com/image.png" /></code></pre>
|
9
CliClient/tests/html_to_md/text_with_escaped_html.md
Normal file
9
CliClient/tests/html_to_md/text_with_escaped_html.md
Normal file
@ -0,0 +1,9 @@
|
||||
Some text, not an image, so it should remain escaped:
|
||||
|
||||
<img src="http://test.com/image.png" />
|
||||
|
||||
<p class="testing">Paragraph example</p>
|
||||
|
||||
But this is code so it can be unescaped:
|
||||
|
||||
<img src="http://test.com/image.png" />
|
@ -720,7 +720,7 @@ class NoteTextComponent extends React.Component {
|
||||
this.resourceLoadedTimeoutId_ = null;
|
||||
this.updateHtml();
|
||||
this.forceUpdate();
|
||||
}, 1000);
|
||||
}, 100);
|
||||
},
|
||||
postMessageSyntax: 'ipcRenderer.sendToHost',
|
||||
};
|
||||
|
@ -91,7 +91,7 @@
|
||||
"highlight.js": "^9.12.0",
|
||||
"html-entities": "^1.2.1",
|
||||
"image-type": "^3.0.0",
|
||||
"joplin-turndown": "^4.0.7",
|
||||
"joplin-turndown": "^4.0.8",
|
||||
"joplin-turndown-plugin-gfm": "^1.0.7",
|
||||
"jssha": "^2.3.1",
|
||||
"katex": "^0.9.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user