-
Notifications
You must be signed in to change notification settings - Fork 699
Description
Given the following markdown file :
console.log('' == '0');
console.log(0 == '');
console.log(0 == '0');
console.log(false == 'false');
console.log(false == '0');
console.log(false == undefined);
console.log(false == null);
console.log(null == undefined);
console.log(' \t\r\n' == 0);And the following slide :
`
import equalsSlide from "../assets/equals.md";
...
<Slide>
<Markdown source={equalsSlide}/>
</Slide>
`
The rendered presentation triggers the following error.
marked.js:138 Uncaught TypeError: Cannot read property 'replace' of undefined Please report this to https://github.com/chjj/marked. at Lexer.lex (marked.js:138) at Function.Lexer.lex (marked.js:129) at marked (marked.js:1219) at exec (index.js:184) at Markdown.render (markdown.js:143) at ReactCompositeComponent.js:796 at measureLifeCyclePerf (ReactCompositeComponent.js:75) at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js:795) at ReactCompositeComponentWrapper._renderValidatedComponent (ReactCompositeComponent.js:822) at ReactCompositeComponentWrapper.performInitialMount (ReactCompositeComponent.js:362)