Update image_table.py
This commit is contained in:
parent
eec737c75d
commit
028ad877b9
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ async def image_table_render(table: Union[ImageTable, List[ImageTable]]):
|
|||
for row in tbl.data:
|
||||
cs = []
|
||||
for c in row:
|
||||
cs.append(escape(c))
|
||||
cs.append(escape(re.sub(r'\n', '<br>', c))
|
||||
d.append(cs)
|
||||
w = len(tbl.headers) * 500
|
||||
if w > max_width:
|
||||
|
|
Reference in a new issue