Skip to content

Commit

Permalink
v1.2.2 fixed title encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasVincent committed Nov 30, 2021
1 parent 8b85587 commit c0700b3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "joplin-plugin-email-note",
"version": "1.2.1",
"version": "1.2.2",
"scripts": {
"dist": "webpack --joplin-plugin-config buildMain && webpack --joplin-plugin-config buildExtraScripts && webpack --joplin-plugin-config createArchive",
"prepare": "npm run dist",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ function openEmail(title, content, html: Boolean) {
? convertToHTML(content)
: filterHeadings(content);
const mailto_link =
"mailto:?subject=" + title + "&body=" + encodeURIComponent(filteredContent);
"mailto:?subject=" + encodeURIComponent(title) + "&body=" + encodeURIComponent(filteredContent);
window.location.href = mailto_link;
}
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 1,
"id": "com.eliasvsimon.email-note",
"app_min_version": "2.2",
"version": "1.2.1",
"version": "1.2.2",
"name": "Email Note",
"description": "Send a note as an email",
"author": "EliasVincent",
Expand Down

0 comments on commit c0700b3

Please sign in to comment.