aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/html/html.cxx1
-rw-r--r--src/libserver/html/html_tag.hxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx
index 5c0753d4a..fda68bf04 100644
--- a/src/libserver/html/html.cxx
+++ b/src/libserver/html/html.cxx
@@ -65,6 +65,7 @@ auto html_components_map = frozen::make_unordered_map<frozen::string, html_compo
{"size", html_component_type::RSPAMD_HTML_COMPONENT_SIZE},
{"rel", html_component_type::RSPAMD_HTML_COMPONENT_REL},
{"alt", html_component_type::RSPAMD_HTML_COMPONENT_ALT},
+ {"id", html_component_type::RSPAMD_HTML_COMPONENT_ID},
});
#define msg_debug_html(...) rspamd_conditional_debug_fast (NULL, NULL, \
diff --git a/src/libserver/html/html_tag.hxx b/src/libserver/html/html_tag.hxx
index 189cae8ed..72ae6d616 100644
--- a/src/libserver/html/html_tag.hxx
+++ b/src/libserver/html/html_tag.hxx
@@ -38,6 +38,7 @@ enum class html_component_type : std::uint8_t {
RSPAMD_HTML_COMPONENT_SIZE,
RSPAMD_HTML_COMPONENT_REL,
RSPAMD_HTML_COMPONENT_ALT,
+ RSPAMD_HTML_COMPONENT_ID,
};
/**
* Returns component type from a string