diff options
Diffstat (limited to 'emacsconf-subed.el')
-rw-r--r-- | emacsconf-subed.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacsconf-subed.el b/emacsconf-subed.el index 250f707..0e35a61 100644 --- a/emacsconf-subed.el +++ b/emacsconf-subed.el @@ -164,7 +164,7 @@ TYPE can be 'end if you want the match end instead of the beginning." (when current (setq result (cons current result))) (setq current (list nil (elt o 1) (elt o 2) - (string-trim (replace-regexp-in-string "^NOTE[ \n]+" " " (elt o 4)))))) + (string-trim (replace-regexp-in-string "^NOTE[ \n]+\\|[ \n]+" " " (elt o 4)))))) ;; update the end time to include the current subtitle (when current (setf (elt current 2) (elt o 2))))) subtitles) |