[Koha-bugs] [Bug 12863] New: News in OPAC: HTML broken with nested p tags and multiple thead in same table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 3 10:32:46 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12863

            Bug ID: 12863
           Summary: News in OPAC: HTML broken with nested p tags and
                    multiple thead in same table
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: veron at veron.ch
        QA Contact: testopia at bugs.koha-community.org

HTML validator displays errors for news in OPAC. 
I used HTMML validator 0.9.5.8 for Firefox.

1)
nested p-Tag like 
 <tbody><tr><td><p><p>This is the text...</p></p> (...)
 This is because opac-main.tt encloses the news text with a p tag. This is not
necessary since the News editor delivers HTML formatted text.

To test: 
Create news with just on line. Display in OPAC and test with HTML validator or
check page source code. 

2)
multiple thead in same table if you have more than one news

To test:
Create multiple news for OPAC. HTML validator will complain about multiple
thead tags in same table. 
This is not allowed, see: www.w3.org/TR/html-markup/table.html#table

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list