Closed imadhui closed 1 year ago
This only happens when content
is ""
in create-div
. When the content is set to, say "d", it works properly.
This bug has nothing to do with clog-repl
. I discovered it when I was working on my app.
Is a bug with HTML itself. Creating a div with no content produces a div without a text node (technically not part of html). I'll give you some work arounds soon
So the official way to place text in a DIV with no text node is
This is the code to reproduce the bug:
Nothing shows up on the browser. The browser console shows an error. This is from safari.
The bug is also reproducible on chrome.