Skip to content

Commit

Permalink
Fix minor typos in elementText sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrogz committed Sep 26, 2014
1 parent 98b1f07 commit c2d57d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ function elementText(el)
return table.concat(pieces)
end

local xml = [[<p>Hello <em>you crazy <b>World</b></em>!</p>>]]
local xml = [[<p>Hello <em>you crazy <b>World</b></em>!</p>]]
local para = SLAXML:dom(xml).root
print(elementText(para)) --> "Hello you crazy World!""
print(elementText(para)) --> "Hello you crazy World!"
```

### A Simpler DOM
Expand Down

0 comments on commit c2d57d5

Please sign in to comment.