Merge pull request #199770 from domenkozar/nixos-options-markdown

nixos options markdown: fix html escaping
This commit is contained in:
Domen Kožar
2022-11-06 18:08:59 +00:00
committed by GitHub
@@ -3,7 +3,7 @@ import sys
options = json.load(sys.stdin)
for (name, value) in options.items():
print('##', name.replace('<', '\\<').replace('>', '\\>'))
print('##', name.replace('<', '&lt;').replace('>', '&gt;'))
print(value['description'])
print()
if 'type' in value: