Lol-html html parser issue
Hello Team,
I am trying to use the Lol-html library's C-Api to rewrite an Html.
My goal is to move all the script elements identified by a particular src attribute to be moved from <head> to <body>
How do I achieve this?
I haven't found a way to achieve this why Lol-html library please help me
I know we can remove the element from head and then you need to specify the whole script element with all the many lines of code inside the script element and add it in the body element... But I want to avoid specifying the complete script element as its content can be too huge..
So please just a better way of how I can move a particular script element from head to body without having to input the complete script element with its content..
0 Replies