Merge pull request #199770 from domenkozar/nixos-options-markdown
nixos options markdown: fix html escaping
This commit is contained in:
commit
8993cc730d
@ -3,7 +3,7 @@ import sys
|
|||||||
|
|
||||||
options = json.load(sys.stdin)
|
options = json.load(sys.stdin)
|
||||||
for (name, value) in options.items():
|
for (name, value) in options.items():
|
||||||
print('##', name.replace('<', '\\<').replace('>', '\\>'))
|
print('##', name.replace('<', '<').replace('>', '>'))
|
||||||
print(value['description'])
|
print(value['description'])
|
||||||
print()
|
print()
|
||||||
if 'type' in value:
|
if 'type' in value:
|
||||||
|
Loading…
Reference in New Issue
Block a user