Skip to content

Commit

Permalink
Update README.md: adjust docx parsing logic. (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowmimosa authored Apr 28, 2024
1 parent 23dde4f commit 8f66e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func main() {
fmt.Println("Plain text:")
for _, it := range doc.Document.Body.Items {
switch it.(type) {
case *docx.Paragraph, *docx.WTable: // printable
case *docx.Paragraph, *docx.Table: // printable
fmt.Println(it)
}
}
Expand Down

0 comments on commit 8f66e2b

Please sign in to comment.