?

Log in

Request #2033274

From: annonb annonb annonb
: Basic Account
LiveJournal: username: annonb
style: (S2) core:  public,  i18n:  none,  i18nc:  none,  layout:  public,  theme:  public,  user:  custom
userpics: base + loyalty = userpics
sup enabled:
email validated? yes
cluster: PorkRibs (#12); data version : 8
design: old  scheme: horizon    friends page: friends
language: en_LJ
underage no;
Is JavaScript enabled: yes
Request sent from Beta: 0
Photo hosting migration: done
Support category: Style Systems  [previous | next]
Time posted: Sun, 08 Jan 2017 03:08:24 GMT (2 weeks ago)
Status: open
Summary: /* suspect CSS: backslash hex */
Original Request:
Url: http://annonb.livejournal.com/
After I upload my CSS, save, then go to my lj, the stylesheet is empty and this is placed in it: /* suspect CSS: backslash hex */

After a few Google searches, I believe this is coming from me putting in special characters in my CSS.

::EXAMPLE::

div.comments a:link::before{
content: "\e90f"; <------- HERE
font-family: 'IcoMoon', 'SofiaPro', Helvetica, Arial, sans-serif;
font-weight: 400;
padding: 2px;
}

I created an icon font and that is the number/code assigned to that character. Everything works fine when I edit the CSS in the browser, but when I actually apply that CSS to my journal the CSS is replaced with /* suspect CSS: backslash hex */. I think that the special character code, like "\e90f" is doing this. So, it's my understanding (though, I don't think I'm understanding well) is that LJ can't read/handle the backslashes in the above code. Is this right? And if so, is there a way around it? Or am I way off base here and /* suspect CSS: backslash hex */ doesn't mean that at all.

Thank you for any help!
Diagnostics: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0

Post a comment or solution:

You must login to help people out.