How to create/insert comment node #208
shkarupa-alex
started this conversation in
General
Replies: 2 comments
-
|
It's not supported currently |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
As a workaround, you can use the following code: You need to have the most recent version of selectolax. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using methods like
node.replace_with("some text")it will create text node.When using methods like
node.replace_with(create_tag("div"))it will create element node.But how can i create a comment node?
Beta Was this translation helpful? Give feedback.
All reactions