We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08b07f2 commit e896291Copy full SHA for e896291
luaxml-domobject.lua
@@ -626,9 +626,10 @@ parse = function(
626
627
628
--- parse string as HTML or XML and insert it as a child of the current node
629
- -- @param str HTML or XML to be inserted
630
- -- @param [optional] is_xml Pass true to parse as XML, otherwise parse as HTML
631
- function DOM_Object:innerHTML(str, is_xml)
+ function DOM_Object:innerHTML(
+ str, --- HTML or XML to be inserted
+ is_xml --- [optional] Pass true to parse as XML, otherwise parse as HTML
632
+ )
633
local el = self
634
-- <> is a dummy element, we just need to wrap everything in some element
635
local str = "<>" .. (str or "") .. "</>"
0 commit comments