Open danielgustafsson opened 1 year ago
This doesn't look right to me. You're creating a <span class="eventtitle">
, but the CSS update is for dt.eventtitle
. Can and should we not just skip the span
and assign class="eventtitle"
directly to the dt
element?
Agreed, I've pushed a rebased version doing this which seems a better option.
The h5 element is not allowed as a descendant of a dt element as dl is defined as flow content whereas hX is phrasing content. Fix by replacing with a span and CSS to match the styling that the h5 element provided.
Also fix three-space indentation while in there.