Skip to content

Commit c9dc2cc

Browse files
Added code tags to make the code easier to read
1 parent 0154e1a commit c9dc2cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/axe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def details_section(header: str) -> str:
171171

172172
if 'nodes' in check:
173173
for node in check['nodes']:
174-
section += f'''<tr><th class "details-header">Affected Node</th><td>{str(node).replace("<", "&lt;").replace(">", "&rt;")}</td></tr>'''
174+
section += f'''<tr><th class "details-header">Affected Node</th><td><code>{str(node).replace("<", "&lt;").replace(">", "&rt;")}</code></td></tr>'''
175175

176176
section += '</table><br />'
177177
else:

0 commit comments

Comments
 (0)