forked from mirrors/org-mode
org-protocol: Fix missing '+' in js snippet
* org-protocol (org-protocol-capture): Add missing plus-sign to javascript snippet to allow readers of the doc string to use example snippet with minimal edits. TINYCHANGE
This commit is contained in:
parent
b1ff9afc3b
commit
a32f015aac
|
@ -462,7 +462,7 @@ This function detects an URL, title and optional text, separated
|
||||||
by `/'. The location for a browser's bookmark looks like this:
|
by `/'. The location for a browser's bookmark looks like this:
|
||||||
|
|
||||||
javascript:location.href = \\='org-protocol://capture?url=\\='+ \\
|
javascript:location.href = \\='org-protocol://capture?url=\\='+ \\
|
||||||
encodeURIComponent(location.href) + \\='&title=\\=' \\
|
encodeURIComponent(location.href) + \\='&title=\\=' + \\
|
||||||
encodeURIComponent(document.title) + \\='&body=\\=' + \\
|
encodeURIComponent(document.title) + \\='&body=\\=' + \\
|
||||||
encodeURIComponent(window.getSelection())
|
encodeURIComponent(window.getSelection())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue