Escape double quotes in URL passed to browse-url
commit9998f2c897eb710cbc592c8b8e558cf1b2f8b7c1
authorMichael Brand <michael.ch.brand@gmail.com>
Sun, 5 May 2013 15:04:40 +0000 (5 17:04 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Sun, 5 May 2013 16:12:53 +0000 (5 18:12 +0200)
treec018041169d3a3abbc8665574533d0b52fd3dad4
parentccfe83666bd2a5e62a020c8e9c31bbcf6a9d44d3
Escape double quotes in URL passed to browse-url

Escape double quotes in URL passed to browse-url

* lisp/org.el (org-link-escape-chars-browser): Add char double quote.
* lisp/org.el (org-open-at-point): Make use of the constant
`org-link-escape-chars-browser'.
* testing/lisp/test-org.el
(test-org/org-link-unescape-ascii-extended-char): Fill paragraph.
(test-org/org-link-escape-url-with-escaped-char): Fill paragraph and
typo.
(test-org/org-link-escape-chars-browser): New test.

This is to make work to open the Org link
[[http://some.host.com/search?q="Org mode"]] in a browser.

From 28726bcc7b7c440d70e2d95ea5a61d0cd5f084ea Mon Sep 17 00:00:00 2001
From: Michael Brand <michael.ch.brand@gmail.com>
Date: Sun, 5 May 2013 17:02:18 +0200
Subject: [PATCH] Escape double quotes in URL passed to browse-url

* lisp/org.el (org-link-escape-chars-browser): Add char double quote.
* lisp/org.el (org-open-at-point): Make use of the constant
`org-link-escape-chars-browser'.
* testing/lisp/test-org.el
(test-org/org-link-unescape-ascii-extended-char): Fill paragraph.
(test-org/org-link-escape-url-with-escaped-char): Fill paragraph and
typo.
(test-org/org-link-escape-chars-browser): New test.

This is to make work to open the Org link
[[http://some.host.com/search?q="Org mode"]] in a browser.
lisp/org.el
testing/lisp/test-org.el