WP strips CSS attributes
-
I’m trying to use styles to mask an email address with this code:
.myemail:present{
content: attr(data-domain) “\0040” attr(data-user);
unicode-bidi: bidi-override;
direction: rtl;
}When the page is published, WP strips the domain and user attributes and I’m left with an ampersand displayed on the page. Is this another security feature? I’m not using anything but plain css. What’s going on? Please don’t tell me I need another plugin. I already have a different one for each task.
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP strips CSS attributes’ is closed to new replies.