Replies: 2 comments 4 replies
-
In a quick test (not through looking at the code carefully) it looks to me like any "built-in" functions, like 'transformTags' is going to run before any custom functions. I didn't dig enough to see the order if you supply multiple custom functions. If this isn't optimal, you could think of combining all of the changes you need into a single custom function. Not sure of your use-case. |
Beta Was this translation helpful? Give feedback.
-
Just taking a quick look at the code. TransformTags is fired by the htmlparser2 |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a question.
Is there an order in the execution of the functions I can use in sanitize options?
E.g. if I use both transformTags and exclusiveFilter, which will run first?
I've tried using console.log to understand, but couldn't
thanks
Beta Was this translation helpful? Give feedback.
All reactions