[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tidy validation failed



在 2020-02-16日的 17:41 +0100,Holger Wansing写道:
> Hi,
> 
> Shlomi Fish <shlomif@shlomifish.org> wrote:
> > Hi Boyuan Yang,
> > 
> > On Fri, 14 Feb 2020 13:55:02 -0500
> > Boyuan Yang <byang@debian.org> wrote:
> > 
> > > Hi debian-www members,
> > > 
> > > 在 2020-02-14五的 15:49 +0000,Debian Webmaster写道:
> > > > *** /srv/www.debian.org/www/distrib/pre-installed.zh-cn.html
> > > > line 666 column 3 - Warning: plain text isn't allowed in <tr> elements
> > > > line 659 column 3 - Info: <tr> previously mentioned
> > > > 
> > > > --
> > > >  You received this mail for the language code zh-cn.
> > > >  Please edit webwml/english/devel/website/validation.data if this is
> > > > not
> > > > accurate.
> > > >  Please also update webwml/english/devel/website/ with the new
> > > > coordinator(s) data.  
> > > 
> > > I have been receiving this error for days but have no idea on how to
> > > resolve
> > > the issue. The rendered HTML is indeed wrong but the source seems to be
> > > using
> > > valid grammar. Can anyone take a look into it?
> 
> @Boyuan Yang:
> I did not receive your mail from 14-02-2020 in my mailbox (don't know why),
> so 
> I wasn't aware of that problem until today. Sorry
> 
> 
> The problem is going down to a wrong formatting in one of my commits:
> https://salsa.debian.org/webmaster-team/webwml/commit/deaf077937154ab490919e74435f78e874db5d69
> 
> which I corrected a day later with
> https://salsa.debian.org/webmaster-team/webwml/commit/a09e18d7cf58fa154433c15f44e6c6a52b8ab7d3
> 
> 
> But for some reason, the Chinese variant of that page does not get newly
> build now, it still has the wrong formatting and the superfluous
> 	Poland" />
> within the Polish listing.
> 
> 
> I remember that this happened in the past as well in some special
> circumstances (however I did not found that in the debian-www list archive
> now).
> The point is: that page includes "english/distrib/pre-installed.data"
> to inject the list content from the English folder into all languages
> pages. Now a change happened in the English part (pre-installed.data) and
> the
> Chinese page did not get the newly build trigger.
> 
> 
> To trigger a new build of the Chinese page, we could do another commit for
> the
> Chinese source code, and indeed I found something, that looks incorrect to
> me
> in chinese/distrib/pre-installed.wml
> (This spurious line is not the reason for the missing-build situation from 
> above, but we should fix it, if it's wrong, anyway.)

Thanks, now I know that we were hit by that old bug again. I'm going to
trigger a rebuild manually. All those existing grammar are valid, BTW.

-- 
Thanks,
Boyuan Yang


Reply to: