X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=7c99ab5d72c970651818743268dbe957f48d824c;hp=71651969e196e52b07d37f145b22a47f135836b9;hb=190462e1f242b59d927eff3e63826fe6343eadbc;hpb=762c67cae040358876e470822ad50a77d4f03c12 diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 71651969e1..7c99ab5d72 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -124,7 +124,7 @@ def table_details(table, input_data): u"data"].split(" ")[1]]).replace(u'"', u'""') if column[u"data"].split(u" ")[1] in \ (u"conf-history", u"show-run"): - col_data = col_data.replace(u" |br| ", u"", ) + col_data = col_data.replace(u" |br| ", u"", 1) col_data = f" |prein| {col_data[:-5]} |preout| " row_lst.append(f'"{col_data}"') except KeyError: