Skip to content

fix(parser): do not mangle preprocessor directives - #6

Open
YagUber wants to merge 1 commit into
adblockplus:masterfrom
YagUber:fix/parser-if-directives
Open

YagUber wants to merge 1 commit into
adblockplus:masterfrom
YagUber:fix/parser-if-directives

Conversation

@YagUber

@YagUber YagUber commented Sep 14, 2026

Copy link
Copy Markdown

Fix for easylist/easylist#25458

Upstream consumers of flrender like easylist unknowingly mangle directives such as !#if into ! #if because of the unconditional conversion of all lines starting with ! into comments formatted as ! {text}.

I assume this is more of an oversight than an intentional feature, but I am not sure. ABP itself treats any line starting with ! as a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant