Hi all!
I’m trying to insert a div
tag with dv.el()
function in DataviewJS.
The code is:
dv.el("div", "", {cls: "my-class"});
I tried with different tags, but each time it adds an empty span
tag inside the tag I’m adding with dv.el()
.
How to avoid adding an empty span tag with dv.el()
function?