diff --git a/netbox_documentation/__init__.py b/netbox_documentation/__init__.py
index b9138b5..fcb100f 100644
--- a/netbox_documentation/__init__.py
+++ b/netbox_documentation/__init__.py
@@ -5,7 +5,7 @@ class DocumentationConfig(PluginConfig):
name = "netbox_documentation"
verbose_name = "NetBox Dokumentation"
description = "Wiki und Office-Dokumentation direkt in NetBox"
- version = "0.7.9"
+ version = "0.7.10"
author = "LKE"
base_url = "documentation"
min_version = "4.0.0"
diff --git a/netbox_documentation/importers.py b/netbox_documentation/importers.py
index c6c593c..dd0cc50 100644
--- a/netbox_documentation/importers.py
+++ b/netbox_documentation/importers.py
@@ -382,9 +382,14 @@ def _render_flattened_worksheet(sheet, workbook, max_rows=None):
tables_starting_here.append(bounds)
rendered_tables.add(bounds)
continue
- value = sheet.cell(row=row_number, column=column_number).value
+ cell = sheet.cell(row=row_number, column=column_number)
+ value = cell.value
if value not in (None, ""):
- ordinary_values.append(escape(str(value)).replace("\n", "
"))
+ rendered_value = escape(str(value)).replace("\n", "
")
+ style = _excel_cell_style(cell, workbook) if cell.has_style else ""
+ if style:
+ rendered_value = f'{rendered_value}'
+ ordinary_values.append(rendered_value)
if ordinary_values:
blocks.append("
" + "
".join(ordinary_values) + "