Skip to content

Commit 934345d

Browse files
committed
still seeing intermitent lodash problems. explicit version dep.
alter regex to account for possible /r/n
1 parent 57c0703 commit 934345d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/lib/annotation_exporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var annotations_exporter = function (pl) {
5151

5252
//for each annotation process the yaml frontmatter and markdown
5353
var annotationSnippet = annotationsYAML[i];
54-
var annotationsRE = /---\n{1}([\s\S]*)---\n{1}([\s\S]*)+/gm;
54+
var annotationsRE = /---\r?\n{1}([\s\S]*)---\r?\n{1}([\s\S]*)+/gm;
5555
var chunks = annotationsRE.exec(annotationSnippet);
5656
if (chunks && chunks[1] && chunks[2]) {
5757

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"handlebars": "^4.0.5",
1111
"html-entities": "^1.2.0",
1212
"json5": "^0.5.0",
13-
"lodash": "~4.13.0",
13+
"lodash": "~4.13.1",
1414
"markdown-it": "^6.0.1",
1515
"mustache": "^2.2.0",
1616
"twig": "^0.9.5",

0 commit comments

Comments
 (0)