opensafely / SRO-Measures

1 stars 0 forks source link

Avoid pre-format for body text #26

Closed benbc closed 3 years ago

benbc commented 3 years ago

When the output is displayed in OpenSAFELY Reports, there are a couple of lines in the summary of each measure that get rendered as monospace/<pre> format, like:

Practices included: 2550 (99.9607996863975%)
Total patients: 11.32M (28.30M events)

This change turns that into normal text.

Sadly we'll have to do this on a report-by-report basis -- the only alternative is appalling hackery that ignores the <pre> tags.