mirror of https://github.com/MISP/misp-objects
link fixed
parent
3f672b5edf
commit
cf08f87406
|
@ -66,7 +66,7 @@ def asciidoc(content=False, adoc=None, t='title',title=''):
|
||||||
if t == 'title':
|
if t == 'title':
|
||||||
output = '== ' + content
|
output = '== ' + content
|
||||||
elif t == 'info':
|
elif t == 'info':
|
||||||
output = "\n{}.\n\n{} {} {}{}/definition.json[*this location*] {}.\n".format(content, 'NOTE: ', title, 'is a MISP object available in JSON format at https://github.com/MISP/misp-objects/blob/master/',title.lower(),' The JSON format can be freely reused in your application or automatically enabled in https://www.github.com/MISP/MISP[MISP]')
|
output = "\n{}.\n\n{} {} {}{}/definition.json[*this location*] {}.\n".format(content, 'NOTE: ', title, 'is a MISP object available in JSON format at https://github.com/MISP/misp-objects/blob/master/objects/',title.lower(),' The JSON format can be freely reused in your application or automatically enabled in https://www.github.com/MISP/MISP[MISP]')
|
||||||
elif t == 'author':
|
elif t == 'author':
|
||||||
output = '\nauthors:: {}\n'.format(' - '.join(content))
|
output = '\nauthors:: {}\n'.format(' - '.join(content))
|
||||||
elif t == 'value':
|
elif t == 'value':
|
||||||
|
|
Loading…
Reference in New Issue