Issue rendering nested HTML
See original GitHub issueSome nested HTML tags don’t get rendered correctly. One example is <div></div><div><div></div></div>
, which gets compiled as <div> <div> <div></div><div></div></div>
.
It seems to be related to the detection of HTML, since entering <div>#a</div>
compiles to <div><h1>a</h1></div>
.
A few versions back markdown-to-jsx compiled those strings correctly.
Just a sidenode: entering "<span>#a</span>"
crashes the compiler.
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
Why vhtml not rendering nested << properly?
But when I am trying to render it in vhtml, its not even showing the parent element. I want it like Name: <<Name>>...
Read more >Deeply nested elements are not rendered (TAGLVL has ...
Summary: Upon too many nested tables, Mozilla begins to break out of the outer tables incorrectly → Deeply nested elements are not rendered...
Read more >8.2.3. Nested Elements - Web Design in a Nutshell, 3rd ...
This results in an incorrect overlapping of elements that would make an XHTML document malformed and may cause rendering problems for HTML documents....
Read more >{{< html-shortcodes >}} are rendered as markdown when ...
TL;DR: how can I prevent {{< html-shortcodes >}} nested inside of ... Nested shortcodes get rendered as Markdown · Issue #2173 · gohugoio/ ......
Read more >Rendering nested block content
Rendering nested block content · function ImageBlockLeftSerializer(props) { const img = h('img', {src: getImageUrl({ node: props. · export default ...
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 Free
Top 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
Just for reference, I posted some use cases here: This is an example using 6.4.1 - https://stackblitz.com/edit/react-qugqd6 This is an example using 6.6.1 - https://stackblitz.com/edit/react-6nelfr
Hmm ok. I’ll see if there’s a way to do this without introducing a ton of bundle size. On Tue, Apr 3, 2018 at 1:05 PM Stephan Troyer notifications@github.com wrote: