LJ have just tweaked their HTML/CSS cleaner, according to the support page. In the process, they drove cart and horses through my carefully hand-crafted S1 style here. It may take come time to sort it out. If anyone can point me at a list of what exactly this new beastie is twitchy about, it could make my life a lot easier; otherwise I'm going to have to reverse-engineer things to work out what is and isn't allowed.
While they have some legitimate concerns* I think they're currently stripping stuff that's pretty harmless. For example, how the hell can
Well, at least it proves that my "graceful degradation" works as intended...
*there are some downright terrifying browser-specific features out there, from the perspective of defending against cross-site scripting attacks.
[edit: there was a post on the subject on
lj_maintenance shortly after a wrote this. I think I'll wait a day or two for things to settle down before I attempt to clean up. I mean, it's not like many people read this journal in the native style, rather than via their own LJ-friends view or some other aggregator]
While they have some legitimate concerns* I think they're currently stripping stuff that's pretty harmless. For example, how the hell can
<style type="text/css"> be malicious?Well, at least it proves that my "graceful degradation" works as intended...
*there are some downright terrifying browser-specific features out there, from the perspective of defending against cross-site scripting attacks.
[edit: there was a post on the subject on
no subject
Date: 2006-02-08 09:23 (UTC)no subject
Date: 2006-02-08 09:43 (UTC)no subject
Date: 2006-02-08 09:51 (UTC)no subject
Date: 2006-02-08 11:22 (UTC)FWIW, it doesn't seem to be objecting to <style type="text/css">, it just "cleans" what's inside them. Where you may be going wrong is using an @import (which is, apparently, suspect) instead of <link rel="stylesheet" href="[address]" type="text/css">...
(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:no subject
Date: 2006-02-08 12:15 (UTC)I don't think there's a documented list of what's allowed/not currently but if you look in the source you should find that it tries to leave you useful comments as to what it's taking out (so, for example, yours currently has a /* suspect CSS: import rule */ in it)
(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From: