From c2d57d595c0d3f802284a2219c9859adc48ea90d Mon Sep 17 00:00:00 2001 From: Gavin Kistner Date: Thu, 25 Sep 2014 20:49:41 -0600 Subject: [PATCH] Fix minor typos in elementText sample code --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 44dbd7a..69e5420 100644 --- a/README.md +++ b/README.md @@ -119,9 +119,9 @@ function elementText(el) return table.concat(pieces) end -local xml = [[

Hello you crazy World!

>]] +local xml = [[

Hello you crazy World!

]] local para = SLAXML:dom(xml).root -print(elementText(para)) --> "Hello you crazy World!"" +print(elementText(para)) --> "Hello you crazy World!" ``` ### A Simpler DOM