Skip to content

Commit

Permalink
chore: visual html add utf-8 meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Joker1212 committed Oct 17, 2024
1 parent 308854b commit 70cbbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rapid_table/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def __call__(
return drawed_img

def insert_border_style(self, table_html_str: str):
style_res = """<style>td {border-left: 1px solid;border-bottom:1px solid;}
style_res = """<meta charset="UTF-8"><style>td {border-left: 1px solid;border-bottom:1px solid;}
table, th {border-top:1px solid;font-size: 10px;
border-collapse: collapse;border-right: 1px solid;}
</style>"""
Expand Down

0 comments on commit 70cbbbc

Please sign in to comment.