WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#6249 closed defect (bug) (fixed)

TinyMCE sometimes leaves empty anchors

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: low
Severity: minor Version: 2.5
Component: Administration Keywords:
Focuses: Cc:

Description

not sure how to reproduce, or whether it should even be fixed (keeping an empty div around with an id sometimes makes sense), but... while playing around with the latest trunk's media library, I eventually got this:

<a href="http://localhost/~denis/wp-content/uploads/2008/03/afraid1.flv"></a>

D.

Attachments (1)

6249.diff (2.7 KB) - added by andy 6 years ago.
do not insert empty links; use the file basename if no title given

Download all attachments as: .zip

Change History (3)

comment:1 azaozz6 years ago

  • Component changed from TinyMCE to Administration

Did you enter a title for the video in Media Library? I think we should make the title there a required field.

andy6 years ago

do not insert empty links; use the file basename if no title given

comment:2 ryan6 years ago

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

(In [7348]) do not insert empty links; use the file basename if no title given. Props andy. fixes #6249

Note: See TracTickets for help on using tickets.