Previously, inputting "cats & dogs" would lose dogs because the
ampersand signifies a query parameter. Instead, hexify each word while
preserving quotes with split-string.
* lisp/net/eww.el (eww--dwim-expand-url): Join hexified words together
with + separators, instead of replacing whitespace with +.
(when (string= (url-filename (url-generic-parse-url url)) "")
(setq url (concat url "/"))))
(setq url (concat eww-search-prefix
- (replace-regexp-in-string " " "+" url))))))
+ (mapconcat
+ #'url-hexify-string (split-string url) "+"))))))
url)
;;;###autoload (defalias 'browse-web 'eww)