if tp.startswith("<") and tp.endswith(">"):  # have to strip the html tags or wont show up
                        tp = "&lt;{}&gt;".format(tp[1:-1])