Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit d1bbe2e

Browse files
author
Matthew Williams
committed
Merge branch 'fixtables' of https://github.com/M4FFS/tools into fixtables
2 parents cc65985 + 1612a9d commit d1bbe2e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

claat/parser/md/parse.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,10 @@ func table(ds *docState) types.Node {
561561
var rows [][]*types.GridCell
562562
for _, tr := range findChildAtoms(ds.cur, atom.Tr) {
563563
ds.push(tr)
564+
fmt.Println(tr)
564565
r := tableRow(ds)
565566
ds.pop()
567+
fmt.Println(r)
566568
rows = append(rows, r)
567569
}
568570
if len(rows) == 0 {
@@ -578,6 +580,7 @@ func tableRow(ds *docState) []*types.GridCell {
578580
if firstChild == nil {
579581
firstChild = findAtom(ds.cur, atom.Th)
580582
}
583+
581584
for td := firstChild; td != nil; td = td.NextSibling {
582585
if td.DataAtom != atom.Td && td.DataAtom != atom.Th {
583586
continue

0 commit comments

Comments
 (0)