Marquis de Bordeaux wrote:
nehp, thanks for changing Lurker to accommodate the new OOC. I noticed it broke your Lurker and Kathryn's too. I'm kind of academically curious why it broke, since it was a server-side change.
Do you want to change your colors to match the new Orange and Brown? I can give you the hex triplets if you need them.
[short summary: nested tags are a New Thing (tm) from skyrates formatting]
When you provide system-formatting, you sanitize the content, and then add your own HTML tags. For OOC, you used <i></i>. However, the sanitization done by skyrates was not complete (the chat breaky "<..." bugs have shown this off as well from time to time), so I had to add extra sanitization in. Due to the skyrates formatting depending upon some of this, like OOC, I had to add an extra step to grab the outer tags -- if they existed -- in raw form. When the great titles-grant-color-text occurred, I added an extension to this that grabbed the font color tags and passed them through, so as to provide a duplicate of any colors y'all offered. However, they were either/or. <i> or <font...
My current modification will need more work to be more robust, as it stands, I look for the i/b/etc, then I check for the <font>. This would be broken if, say, you put the <i> inside the <font>. After this (highly profitable) year of {static} work hours combined with (now complete) massive household clearing are over, zolurker gets a cleanup (separating logger from responder as processes) and I've noted for myself to make the tag parsing recursive and robust. This should hopefully survive further improvements naturally, hehe.
-- For sanitization, it's been quite a while since I built that part, in response to various users doing the 'test ways to break things.' Due to this, I dont' remember what was not being sanitized off the top of my head. If you'd like, I can drop y'all a message if I uncover what I was responding to when I get back into lurker (likely early 2011 at this point.) I think you may have finally fixed it after the last chat breakage, but that came after I'd put sanitization into place (which is complicated enough as it has to avoid sanitizing pre-sanitized bits! hehe.)
And yeah, drop me the updated hex or names and I can update the css =)