Skip to content

Commit e896291

Browse files
committed
fixed api docs
1 parent 08b07f2 commit e896291

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

luaxml-domobject.lua

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -626,9 +626,10 @@ parse = function(
626626

627627

628628
--- 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)
629+
function DOM_Object:innerHTML(
630+
str, --- HTML or XML to be inserted
631+
is_xml --- [optional] Pass true to parse as XML, otherwise parse as HTML
632+
)
632633
local el = self
633634
-- <> is a dummy element, we just need to wrap everything in some element
634635
local str = "<>" .. (str or "") .. "</>"

0 commit comments

Comments
 (0)