In the current implementation of PD4ML’s HTML renderer tags are interpreted as text style modifiers. You may apply a style to them by classname or ID directly, but they do not appear in a document DOM-like structure. That makes complex CSS selectors (which rely on spans) to fail.

The issue is going to addressed in the forthcoming versions. For the time being you may workaround the issue if you change tags to

(if possible)