mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Fix speaker note separator regex should only take effect on the line start
This commit is contained in:
parent
ca95901204
commit
48f8378335
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ import { md } from './extra'
|
|||
}
|
||||
}(this, function () {
|
||||
var DEFAULT_SLIDE_SEPARATOR = '^\r?\n---\r?\n$'
|
||||
var DEFAULT_NOTES_SEPARATOR = 'note:'
|
||||
var DEFAULT_NOTES_SEPARATOR = '^note:'
|
||||
var DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR = '\\.element\\s*?(.+?)$'
|
||||
var DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '\\.slide:\\s*?(\\S.+?)$'
|
||||
|
||||
|
|
Loading…
Reference in a new issue