Skip to content

Commit

Permalink
add testdata from #29
Browse files Browse the repository at this point in the history
  • Loading branch information
miku committed Aug 14, 2024
1 parent 3a42f11 commit dfd4a01
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions testdata/w.16.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import "encoding/xml"

type P struct {
XMLName xml.Name `xml:"p"`
Text string `xml:",chardata"`
Br string `xml:"br"`
}
2 changes: 2 additions & 0 deletions testdata/w.16.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!-- https://github.com/miku/zek/issues/29#issuecomment-2001630625 -->
<p>- Did you get me something to give her?<br/>- Yes, this.</p>

0 comments on commit dfd4a01

Please sign in to comment.