mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-01 13:31:04 -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 () {
|
}(this, function () {
|
||||||
var DEFAULT_SLIDE_SEPARATOR = '^\r?\n---\r?\n$'
|
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_ELEMENT_ATTRIBUTES_SEPARATOR = '\\.element\\s*?(.+?)$'
|
||||||
var DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '\\.slide:\\s*?(\\S.+?)$'
|
var DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '\\.slide:\\s*?(\\S.+?)$'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue