summaryrefslogtreecommitdiffstats
path: root/emacsconf-publish.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacsconf-publish.el')
-rw-r--r--emacsconf-publish.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emacsconf-publish.el b/emacsconf-publish.el
index 96d9232..1c651c1 100644
--- a/emacsconf-publish.el
+++ b/emacsconf-publish.el
@@ -827,7 +827,8 @@ This includes the intro note, the schedule, and talk resources."
(defun emacsconf-format-transcript-from-list (subtitles video-id &optional lang)
"Return subtitle directives for SUBTITLES."
- (when (stringp subtitles) (setq subtitles (subed-parse-file subtitles)))
+ (let ((subed-sanitize-functions nil))
+ (when (stringp subtitles) (setq subtitles (subed-parse-file subtitles))))
(mapconcat
(lambda (sub)
(let ((msecs (elt sub 1)))
@@ -857,7 +858,8 @@ This includes the intro note, the schedule, and talk resources."
"Format the transcript for TALK, adding paragraph markers when possible."
(require 'subed)
(setq video-id (or video-id "mainVideo"))
- (let* ((subtitles
+ (let* ((subed-sanitize-functions nil)
+ (subtitles
(subed-parse-file (if lang
(format "%s_%s.vtt"
(file-name-sans-extension