Error is thrown with inline element
See original GitHub issueI’m getting the following error
> Having trouble rendering liquid (and markdown) template ./_source/index.md
[0]
[0] `TemplateContentRenderError` was thrown
[0] > Cannot read property 'attrJoin' of undefined
[0]
[0] `TypeError` was thrown:
[0] TypeError: Cannot read property 'attrJoin' of undefined
[0] at Object.exports.addAttrs (/Users/roobottom/Git/roodesign-2019/node_modules/markdown-it-attrs/utils.js:123:13)
[0] at Object.transform (/Users/roobottom/Git/roodesign-2019/node_modules/markdown-it-attrs/patterns.js:131:15)
[0] at Array.curlyAttrs (/Users/roobottom/Git/roodesign-2019/node_modules/markdown-it-attrs/index.js:30:19)
[0] at Core.process (/Users/roobottom/Git/roodesign-2019/node_modules/markdown-it/lib/parser_core.js:51:13)
[0] at MarkdownIt.parse (/Users/roobottom/Git/roodesign-2019/node_modules/markdown-it/lib/index.js:523:13)
[0] at MarkdownIt.render (/Users/roobottom/Git/roodesign-2019/node_modules/markdown-it/lib/index.js:543:36)
[0] at /Users/roobottom/Git/roodesign-2019/node_modules/@11ty/eleventy/src/Engines/Markdown.js:72:38
[0] at process._tickCallback (internal/process/next_tick.js:68:7)
When…
Example input:
[Find out how I can help you](/services){.button}
Current output:
Nothing
Expected output:
<p><a href="/services" class="button">Find out how I can help you</a></p>
Adding a space like this:
[Find out how I can help you](/services) {.button}
works, but applies the button
class to <p>
and not <a>
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Display inline throwing an error - javascript - Stack Overflow
... I'm using show to update the element's visibility since that's more idiomatic, ... There's no variable named inline in your application.
Read more >Grid Inline Adding not working in Kendo UI for jQuery - Telerik
Hi,. I dont know much about inline editing so Im a little lost with this error, but whenever I try to add a...
Read more >Inline Editing throws Exception on Console - Blazor - Syncfusion
We have validated the reported issue and it occur due to @onblur event of Blazor for elements inside the EditForm. Inside the GridEdit...
Read more >Inline elements - HTML: HyperText Markup Language | MDN
Inline elements are those which only occupy the space bounded by the tags defining the element, instead of breaking the flow of the...
Read more >CSS display: inline-block: why it rocks, and why it sucks
“Basically, it's a way to make elements inline, but preserving their block capabilities such as setting width and height, top and bottom margins ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, I can see that it’s quite old. I’ll upgrade to sort the problem.
Thanks for your help!