X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17a1ebd101f0653e69736416a2a28d0ada423141..e45a6885492304586b481ee1dacdc1544533e731:/src/html/m_image.cpp diff --git a/src/html/m_image.cpp b/src/html/m_image.cpp index c4e902cb96..595ba007b6 100644 --- a/src/html/m_image.cpp +++ b/src/html/m_image.cpp @@ -645,7 +645,7 @@ TAG_HANDLER_BEGIN(IMG, "IMG,MAP,AREA") str, w, h, m_WParser->GetPixelScale(), al, mn); - cel->SetLink(m_WParser->GetLink()); + m_WParser->ApplyStateToCell(cel); cel->SetId(tag.GetParam(wxT("id"))); // may be empty m_WParser->GetContainer()->InsertCell(cel); if (str)