Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested tables not announcing their row count #689

Open
klobetime opened this issue Oct 30, 2022 · 2 comments
Open

Nested tables not announcing their row count #689

klobetime opened this issue Oct 30, 2022 · 2 comments
Labels

Comments

@klobetime
Copy link

With Clearspeak, using tables usually results in the number of rows being prefixed to the speech string, something line "2 lines Line 1: xxx Line 2: yyy" which is fine. But when using nested tables, only the outermost table seems to have the total rows added:

<math>
  <mtable>
    <mtr>
      <mtd>
        <mtable>
          <mtr>
            <mtd>
              <mn>100</mn>
            </mtd>
          </mtr>
          <mtr>
            <mtd>
              <mn>200</mn>
            </mtd>
          </mtr>
        </mtable>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtable>
          <mtr>
            <mtd>
              <mn>300</mn>
            </mtd>
          </mtr>
          <mtr>
            <mtd>
              <mn>400</mn>
            </mtd>
          </mtr>
        </mtable>
      </mtd>
    </mtr>
  </mtable>
</math>

Results in

2 lines Line 1: Line 1: 100 Line 2: 200 Line 2: Line 1: 300 Line 2: 400

rather than

2 lines Line 1: 2 lines Line 1: 100 Line 2: 200 Line 2: 2 lines Line 1: 300 Line 2: 400

Not a huge issue as nested tables are generally confusing to begin with, but thought I'd share.

@klobetime
Copy link
Author

Note that I'm using v4.0.6 -- haven't tried with the current beta yet.

@zorkow zorkow added the bug label Nov 9, 2022
@zorkow
Copy link
Member

zorkow commented Nov 9, 2022

Thanks for reporting this.

I don't think the current beta does have any changes for this, but I'll check.

@zorkow zorkow mentioned this issue Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants