Closed (fixed)
Project:
Facebook-style Statuses (Microblog)
Version:
6.x-1.0
Component:
Code - Functionality
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
8 Apr 2009 at 13:59 UTC
Updated:
26 Apr 2009 at 15:50 UTC
The tag part
should be changed to
!time
because div is forbidden in that context under some doc types
It needs perhaps some more changes because the output with is a bit different as with div.
Comments
Comment #1
icecreamyou commentedIt looks like you intended some HTML tags to be included in that request that didn't make it through the filter. Can you explain better?
The styling is not going to change in 1.x with 2.x so close, but if there is a legitimate concern with some code I will fix it.
Comment #2
michtoen commentedOh, sorry
Its line 1267 and 1270: the
In the other parts of the code the submitted part is already taged with span, only
in that lines not.
Comment #3
icecreamyou commented...
Use
>for a right angle bracket and<for a left angle bracket or surround your HTML with <code> tags.Comment #4
michtoen commentedHm, strange... i even not used a real tag
its the div class = "submitted" part in both line - it should be span = like in the other code parts.
Comment #5
icecreamyou commentedThat's intentional because in the module that function is only called when displaying lists and it looks better to have the time separate. It's a theme function though so you can override it if you need it changed, or just change the way it displays with CSS.
Comment #6
michtoen commentedHm, not sure i understood.
You get under xhtml a style warning because you created a div inside a span, which is invalid css for xhtml strict at
last. That happens for example if you dispay the "recent status block". Try it with firefox, xhtml strict doctype and
html validator add-on. So, its nothing you can fix with css.
Its not a big issue, right - but drupal with that little fix will validate fine.
would it not be the right way to use span and then something like display:block or such to force a line break without a br?
Comment #7
icecreamyou commentedAh, okay. I didn't understand that that's what the problem was. I'm on vacation and won't be back until Sunday night but I'll fix it then.
Comment #8
icecreamyou commentedFixed in dev.