Skip to content

Commit dfd4a01

Browse files
committed
add testdata from #29
1 parent 3a42f11 commit dfd4a01

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

testdata/w.16.go

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import "encoding/xml"
2+
3+
type P struct {
4+
XMLName xml.Name `xml:"p"`
5+
Text string `xml:",chardata"`
6+
Br string `xml:"br"`
7+
}

testdata/w.16.xml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!-- https://github.com/miku/zek/issues/29#issuecomment-2001630625 -->
2+
<p>- Did you get me something to give her?<br/>- Yes, this.</p>

0 commit comments

Comments
 (0)