Bug 823429

Summary: The show_bug.cgi output is not valid HTML
Product: [Community] Bugzilla Reporter: Jan Pazdziora <jpazdziora>
Component: User InterfaceAssignee: Matt Tyson 🤬 <mtyson>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2CC: jfearn, jingwang, jmcdonal, jpazdziora, mtyson
Target Milestone: 4.4-3   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.4-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-20 11:07:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of the broken display.
none
screenshot for comment8
none
screenshot for comment11 none

Description Jan Pazdziora 2012-05-21 09:17:32 UTC
Description of problem:

The output of show_bug.cgi does not seem to be valid HTML 4.01 Transitional.

Version-Release number of selected component (if applicable):

4.2

How reproducible:

Deterministic.

Steps to Reproduce:
1. Go to http://validator.w3.org/check?uri=https%3A%2F%2Fbugzilla.redhat.com%2Fshow_bug.cgi%3Fid%3D737830&charset=%28detect+automatically%29&doctype=Inline&group=0
or go to validator.w3.org and put in URL https://bugzilla.redhat.com/show_bug.cgi?id=737830
  
Actual results:

Result: 	10 Errors, 16 warning(s) 

Warning Line 277, Column 216: cannot generate system identifier for general entity "version"

…bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&version=4.2">here</a>.</div>

and many more.

Expected results:

Result: 	Passed 

Additional info:

Comment 1 Jan Pazdziora 2012-05-21 09:22:07 UTC
Created attachment 585768 [details]
Screenshot of the broken display.

One of the ill effects is ul within ul which leads to broken display. This is Firefox 12.0.

Comment 2 wangjing 2012-09-29 07:30:33 UTC
hi~Jan.
I see the error results on the page validator.w3.org, but I didn't see the broken display as in the attachment by opening the https://bugzilla.redhat.com/show_bug.cgi?id=737830, this Firefox 15.0.

Comment 3 Simon Green 2012-10-10 06:21:23 UTC
The display problem was fixed many months ago.

However, we still aren't producing compliant HTML. I've checked upstream, and they aren't either. Some errors are customisations on our part (ID "USEFUL-LINKS" already defined). Others come from upstream.

I'm going to mark this as part of the initial Bugzilla 4.4 release. Any changes that affect upstream mean we can submit a patch for it.

Comment 6 Matt Tyson 🤬 2013-02-14 05:28:51 UTC
I've fixed up the broken HTML caused by Red Hat extensions.  There's still some  warnings from the upstream HTML, but they don't look like they would cause any page breakage.

Comment 7 Simon Green 2013-04-15 22:47:54 UTC
*** Bug 927041 has been marked as a duplicate of this bug. ***

Comment 9 wangjing 2013-05-09 08:02:52 UTC
Created attachment 745573 [details]
screenshot for comment8

Comment 12 wangjing 2013-05-09 14:31:26 UTC
Created attachment 745679 [details]
screenshot for comment11