Skip to content

Commit

Permalink
Fix SetOuterHTML function
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulMansour committed Jan 7, 2022
1 parent 5df45f6 commit beb7e5c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions APLSource/Main/SetOuterHTML.aplf
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
SetOuterHTML{
⍺ ←→ Element
⍵ ←→ DOM content
_ SetProperty'outerHTML'
nH.HTML2DOM
⍵ ←→ DOM or HTML
d hDOMandHTML
_ SetProperty'outerHTML'(h~⎕UCS 13)
p.Parent
_SetParent p
ip.Content
p.Content(ip.Content),(i+1)p.Content
p.Content(ip.Content),d,(i+1)p.Content
0=d:0
eElements¨d
e.Document.Document
0
}

0 comments on commit beb7e5c

Please sign in to comment.