summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2026-01-02 10:53:14 -0500
committerSacha Chua <sacha@sachachua.com>2026-01-02 10:53:14 -0500
commit4e6de5851eed3c7625a34d4573d59d94e13989f1 (patch)
tree145e41df8faaa7dbe9288d2829475efa66005f49
parentcf5bbbe632c766368dedd9b3c1cdbd7bf75d0ea8 (diff)
downloademacsconf-el-4e6de5851eed3c7625a34d4573d59d94e13989f1.tar.xz
emacsconf-el-4e6de5851eed3c7625a34d4573d59d94e13989f1.zip
escape potential lists
-rw-r--r--emacsconf-publish.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacsconf-publish.el b/emacsconf-publish.el
index 590884b..0af176d 100644
--- a/emacsconf-publish.el
+++ b/emacsconf-publish.el
@@ -838,7 +838,7 @@ This includes the intro note, the schedule, and talk resources."
(concat
(if (and (elt sub 4) (not (string= (elt sub 4) "")))
(format "\n<div class=\"transcript-heading\">[[!template new=\"1\" text=\"\"\"%s\"\"\" start=\"%s\" video=\"%s\" id=\"subtitle\"%s]]</div>"
- (string-trim (replace-regexp-in-string "^NOTE[ \n]" "" (elt sub 4)))
+ (replace-regexp-in-string "\\." "\\\\." (string-trim (replace-regexp-in-string "^NOTE[ \n]" "" (elt sub 4))))
(concat (format-seconds "%02h:%02m:%02s" (/ (floor msecs) 1000))
"." (format "%03d" (mod (floor msecs) 1000)))
video-id