aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/css
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-06-30 12:50:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-06-30 12:50:43 +0100
commiteae0eddc9625e66d47aabcc5d854a73c5366661c (patch)
tree3a15200ff631c050ebe4e705b678f8765ade9615 /src/libserver/css
parent34bb346628f3fe3da1ab35700d238e29345a510a (diff)
downloadrspamd-eae0eddc9625e66d47aabcc5d854a73c5366661c.tar.gz
rspamd-eae0eddc9625e66d47aabcc5d854a73c5366661c.zip
[Project] Html: Another rework of the tags structure
Diffstat (limited to 'src/libserver/css')
-rw-r--r--src/libserver/css/css.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/css/css.cxx b/src/libserver/css/css.cxx
index 51f537b5a..9e26eb42f 100644
--- a/src/libserver/css/css.cxx
+++ b/src/libserver/css/css.cxx
@@ -114,7 +114,7 @@ css_style_sheet::check_tag_block(const rspamd::html::html_tag *tag) ->
}
/* First, find id in a tag and a class */
- for (const auto &param : tag->parameters) {
+ for (const auto &param : tag->components) {
if (param.type == html::html_component_type::RSPAMD_HTML_COMPONENT_ID) {
id_comp = param.value;
}