You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue with how mj-include paths and navigation, breaking the rendering of the rest of the file.
File: index.mjml
TypeError: Cannot read property 'includedIn' of null
Input file(s) failed to render
Stacktrace
TypeError: Cannot read property 'includedIn' of null
TypeError: Cannot read property 'includedIn' of null
at handleInclude (/Users/nicolas/Documents/code/mjml4-beta/v1/node_modules/mjml-parser-xml/lib/index.js:130:33)
at Object.onopentag (/Users/nicolas/Documents/code/mjml4-beta/v1/node_modules/mjml-parser-xml/lib/index.js:208:16)
at Parser.onopentagend (/Users/nicolas/Documents/code/mjml4-beta/v1/node_modules/htmlparser2/lib/Parser.js:172:37)
at Parser._closeCurrentTag (/Users/nicolas/Documents/code/mjml4-beta/v1/node_modules/htmlparser2/lib/Parser.js:219:7)
at Parser.onselfclosingtag (/Users/nicolas/Documents/code/mjml4-beta/v1/node_modules/htmlparser2/lib/Parser.js:210:8)
at Tokenizer._stateInSelfClosingTag (/Users/nicolas/Documents/code/mjml4-beta/v1/node_modules/htmlparser2/lib/Tokenizer.js:243:13)
at Tokenizer._parse (/Users/nicolas/Documents/code/mjml4-beta/v1/node_modules/htmlparser2/lib/Tokenizer.js:651:9)
at Tokenizer.write (/Users/nicolas/Documents/code/mjml4-beta/v1/node_modules/htmlparser2/lib/Tokenizer.js:632:7)
at Parser.write (/Users/nicolas/Documents/code/mjml4-beta/v1/node_modules/htmlparser2/lib/Parser.js:334:18)
at MJMLParser (/Users/nicolas/Documents/code/mjml4-beta/v1/node_modules/mjml-parser-xml/lib/index.js:272:10)
Input file(s) failed to render
The text was updated successfully, but these errors were encountered:
ngarnier
changed the title
Rendering a template with several mj-include returns an error with v4.0.0-beta.1
mj-include doesn't handle the paths correctly
Jan 30, 2018
There is an issue with how
mj-include
paths and navigation, breaking the rendering of the rest of the file.Stacktrace
The text was updated successfully, but these errors were encountered: