• Resolved zauberer-mentalist

    (@zauberer-mentalist)


    When I want to validate my page with

    https://validator.w3.org/

    there is a problem in the section, where I include the calendar. The html-tags doesn’t fit.

    excerpt for the end of the calender part from the website: (There is a </dl></div> missing)
    ——————————–
    <div class=”ics-calendar-date-wrapper” data-date=”9. Mai”>
    <h4 class=”ics-calendar-date” id=”r626fe4399ff12c9-20220509″>9. Mai</h4>
    <dl class=”events” aria-labelledby=”r626fe4399ff12c9-20220509″>
    <dd class=”event t090000″ data-feed-key=”0″ data-categories=”Website-Termine”>
    <span class=”title”> Graecum Kl.10
    </span>
    </dd>
    </section>

    I hope, that it is not my fault.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thanks for bringing this to my attention. I’ve verified the issue exists in the sample calendars at https://icscalendar.com/sample-calendars as well.

    It appears that the final </dl> is being omitted in each list view calendar group. I’ll investigate why this is happening and get an update released ASAP.

    Thread Starter zauberer-mentalist

    (@zauberer-mentalist)

    Thanks a lot for this quick response.

    I have identified the issue and it is fixed in version 9.6.2.1 which should be available momentarily.

    Thread Starter zauberer-mentalist

    (@zauberer-mentalist)

    there is an </article> tag missing before the last </section> – tag, too. Sorry, I’ve not seen this before.

    Ah… yes, I see that as well. Looking into it…

    OK, 9.6.2.2 should fix this as well. I also reviewed the code a bit more carefully to verify that this is the only other tag that is affected by this issue.

    A bit of detail: the count option in the shortcode (which has a default value for list view even if it’s not explicitly included in the shortcode) is used to break the event loop when putting together the list view. In the PHP code it is break(5); because it is breakout out of 5 nested loops. The output HTML will contain an <article> tag, containing a <div> tag, containing a <dl> tag. All three of those need to be closed before the break(5); and that was missing in the template previously.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘html-problem’ is closed to new replies.