diff --git a/src/html/m_tables.cpp b/src/html/m_tables.cpp
index 3e47cb4ff9..cbd2723738 100644
--- a/src/html/m_tables.cpp
+++ b/src/html/m_tables.cpp
@@ -284,6 +284,13 @@ void wxHtmlTableCell::AddCell(wxHtmlContainerCell *cell, const wxHtmlTag& tag)
/* scan for parameters: */
+ // id:
+ wxString idvalue;
+ if (tag.GetParamAsString(wxT("ID"), &idvalue))
+ {
+ cell->SetId(idvalue);
+ }
+
// width:
{
if (tag.HasParam(wxT("WIDTH")))