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

Line breaks not preserved in needtable #1195

Open
jumbo172 opened this issue Jun 12, 2024 · 0 comments
Open

Line breaks not preserved in needtable #1195

jumbo172 opened this issue Jun 12, 2024 · 0 comments

Comments

@jumbo172
Copy link

jumbo172 commented Jun 12, 2024

Is there a way to preserve line breaks in a needtable? The result option below has line block syntax to force a new line, however these are displayed as plain text in the generated needtable.

.. kpi:: Biometric verification timing
  :id: TR_ct_bio_timing
  :layout: test_result
  :result:
    | F1T1 Match: 250
    | No Match: 350
    
.. needtable:: High Level KPI
   :filter: type=='kpi'
   :columns: id, result
   

You could make an argument that this could be solved by splitting the test results into separate kpi needs (one for each of the two results).

However, the two results form part of a high-level KPI summary table, with multiple results being part of a single high-level KPI. It would be nice to be able to force each result onto a separate line, to aid readability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant