html fix for display in libguides

This commit is contained in:
Mark Eaton 2018-05-31 01:06:25 -04:00
parent 28fe2a5529
commit c4923e5bee

View File

@ -30,7 +30,7 @@ def make_html(input_tuples, outfile):
item_counter = ''
for item in input_tuples:
if item[0] != item_counter:
file_2.write('<h3>' + item[0] + '</h3>')
file_2.write('</ul><h3>' + item[0] + '</h3><ul>')
file_2.write(item[1])
item_counter = item[0]
file_2.write('</ul>')