(parsed_tunings)
| 175 | |
| 176 | |
| 177 | def export_tunings(parsed_tunings): |
| 178 | output = ['<div style="overflow-x: auto;"><table class="settingscommands">'] |
| 179 | output.append(" <tr><th>Tuning</th><th>Description</th><th>Default</th></tr>") |
| 180 | |
| 181 | for tuning in parsed_tunings: |
| 182 | output.append(f" <tr><td>{html.escape(tuning['name'])}</td><td>{html.escape(tuning['description'])}</td><td>{tuning['default']}</td></tr>") |
| 183 | |
| 184 | output.append("</table></div>") |
| 185 | return "\n".join(output) |
| 186 | |
| 187 | |
| 188 | def export_block(title, content): |
no outgoing calls
no test coverage detected