From 806dd9c31f0ed30cff080e0f36df6ccfde92b8bc Mon Sep 17 00:00:00 2001 From: Sergey Fionov Date: Wed, 13 Dec 2023 09:43:50 +0200 Subject: [PATCH 1/2] Add `cap_html_filtering` define Starting from CoreLibs 1.13, new preprocessing define exist --- docs/general/ad-filtering/create-own-filters.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/general/ad-filtering/create-own-filters.md b/docs/general/ad-filtering/create-own-filters.md index 2703da95593..dba1d114b3b 100644 --- a/docs/general/ad-filtering/create-own-filters.md +++ b/docs/general/ad-filtering/create-own-filters.md @@ -3926,6 +3926,7 @@ where: - `adguard_ext_opera` — AdGuard Browser Extension for Opera - `adguard_ext_android_cb` — AdGuard Content Blocker for mobile Samsung and Yandex browsers - `ext_ublock` — special case; this one is declared when a uBlock version of a filter is compiled by the [FiltersRegistry] + - `cap_html_filtering` - products that have HTML filtering capability - AdGuard for Windows, Mac and Android - `!#else` — start of the block when conditions are false - `rules_list`, `true_conditions_rules_list`, `false_conditions_rules_list` — lists of rules - `!#endif` — end of the block From 34f1a9bfcaec1447b44f1759f50c9e2a702d7dba Mon Sep 17 00:00:00 2001 From: Sergey Fionov Date: Wed, 13 Dec 2023 13:04:37 +0200 Subject: [PATCH 2/2] Update docs/general/ad-filtering/create-own-filters.md Co-authored-by: Helen <58733007+el-termikael@users.noreply.github.com> --- docs/general/ad-filtering/create-own-filters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/general/ad-filtering/create-own-filters.md b/docs/general/ad-filtering/create-own-filters.md index dba1d114b3b..64e9d07408f 100644 --- a/docs/general/ad-filtering/create-own-filters.md +++ b/docs/general/ad-filtering/create-own-filters.md @@ -3926,7 +3926,7 @@ where: - `adguard_ext_opera` — AdGuard Browser Extension for Opera - `adguard_ext_android_cb` — AdGuard Content Blocker for mobile Samsung and Yandex browsers - `ext_ublock` — special case; this one is declared when a uBlock version of a filter is compiled by the [FiltersRegistry] - - `cap_html_filtering` - products that have HTML filtering capability - AdGuard for Windows, Mac and Android + - `cap_html_filtering` — products that support HTML filtering rules: AdGuard for Windows, AdGuard for Mac, and AdGuard for Android - `!#else` — start of the block when conditions are false - `rules_list`, `true_conditions_rules_list`, `false_conditions_rules_list` — lists of rules - `!#endif` — end of the block