summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yeetube.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/yeetube.el b/yeetube.el
index e885cdf..4a5c413 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -150,8 +150,9 @@ It's recommended you keep it as the default value."
;; this is a quick "duck-tape" fix.
(defun yeetube-fix-title (title)
"Adjust TITLE."
- (replace-regexp-in-string "'" "'"
- (replace-regexp-in-string """ "\"" title)))
+ (replace-regexp-in-string "&" "&"
+ (replace-regexp-in-string """ "\""
+ (replace-regexp-in-string "'" "'" title))))
(defun yeetube-insert-content (prefix url video-titles video-ids)
"Insert video links with titles into the buffer.