Compare commits
No commits in common. "3fa099460ba3ac0f12de7c13541771446fb00986" and "eb9edf2da785e31e0e5ffe64fff927e24b1c3cec" have entirely different histories.
3fa099460b
...
eb9edf2da7
1 changed files with 3 additions and 3 deletions
|
@ -88,9 +88,9 @@ for string in sorted(strings):
|
||||||
parent_items[parts[-2]], parts[-2]
|
parent_items[parts[-2]], parts[-2]
|
||||||
)
|
)
|
||||||
if string in child_items:
|
if string in child_items:
|
||||||
parts_[-1] = '<a href="https://{}/clip/text/keywords=={}{}" target="_blank" title="{}">{}</a>'.format(
|
parts_[-1] = '<a href="https://{}/clip/text/keywords=={}:_{}" target="_blank" title="{}">{}</a>'.format(
|
||||||
site, '{}:_'.format(parts[-2].replace(' ', '_')) if parts[-2] != 'unknown' else '',
|
site, parts[-2].replace(' ', '_'), parts[-1].replace(' ', '_'),
|
||||||
parts[-1].replace(' ', '_'), child_items[string], parts[-1]
|
child_items[string], parts[-1]
|
||||||
)
|
)
|
||||||
html.append(': '.join(parts_))
|
html.append(': '.join(parts_))
|
||||||
template = open('ontology_template.html').read()
|
template = open('ontology_template.html').read()
|
||||||
|
|
Loading…
Reference in a new issue