You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ma-boily Thanks for the detailed bug report! Could you please open separate tickets for each issue? (Tickets for multiple issues are really a pain to work with.) Thanks!
@oliverklee Thanks for the prompt reply. I've split the 3 problems in two separate issues (:first-child and :last-child seem to be going to need a very similar fix). The third one though, seems a lot trickier from my understanding (as it uses regex for matching and replacing, it'd need an alternate way to iterate on all selectors).
The following selectors seem to generate invalid XPath, crashing the whole parser:
With
:first-child
:With
:last-child
:Multiple attributes:
No regex seem to match any of these 3 cases, causing an
InvalidArgumentException
to be thrown (at https://github.com/jjriv/emogrifier/blob/master/Classes/Emogrifier.php#L1532)The text was updated successfully, but these errors were encountered: