Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#12252 closed defect (bug) (worksforme)

Validation Error because of Link Title-Tags

Reported by: Bichareh Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9.2
Component: Validation Keywords: reporter-feedback close
Focuses: Cc:


Missing Space between href and "title". It burns the Validation. Without title-tag no errors.

<a href="http://www.promicabana.de/ben-stiller-berlinale-2010-alt-geworden/"title="Ben Stiller bei der Berlinale: Man ist der alt geworden!" >Ben Stiller</a>

Change History (8)

comment:1 @nacin6 years ago

  • Keywords needs-patch added; Links Wordpress 2.9 Validation removed
  • Milestone changed from Unassigned to 3.0

comment:2 @nacin6 years ago

We need to know where this is taking place in order to fix it...

comment:3 @Bichareh6 years ago

There is a problem with the Links - the A-Tags. For example:

<a title="x" href="http://www.google.de">Hello</a>

The symmetry isn't korrekt. First there should be the "href" and than the "title". So it should look like this...

<a href="http://www.google.de" title="x">Hello</a>

comment:4 @nacin6 years ago

The order of HTML attributes do not matter.

We need to know what -- blogroll, a widget, a theme, the admin area, a plugin -- is generating invalid code. Where do you see it? The invalid code is the lack of a space before the title attribute, which you pointed out originally.

comment:5 @Bichareh6 years ago

The invalid Code is generated in the articles. If you input a link.

comment:6 @nacin6 years ago

  • Keywords reporter-feedback close added; needs-patch removed

Can you link to an example? If you have invalid HTML in your theme, you'll have invalid HTML on your blog.

comment:7 @nacin6 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Please re-open if you can describe more what is going on here.

comment:8 @nacin6 years ago

  • Milestone 3.0 deleted
Note: See TracTickets for help on using tickets.