Making WordPress.org

Opened 8 years ago

Last modified 7 years ago

#2440 assigned defect (bug)

Trac links are automatically added even when `#NNN` reference has an existing link

Reported by: danielbachhuber's profile danielbachhuber Owned by: pento's profile pento
Milestone: Priority: normal
Component: Make (Get Involved) / P2 Keywords:
Cc:

Description

Given post content like:

For instance, consider the following (<a href="https://github.com/wp-cli/wp-cli/issues/2523">from #2523</a>):

P2 will transform the HTML to the following:

For instance, consider the following (<a href="https://github.com/wp-cli/wp-cli/issues/2523">from </a><span class="p2_hovercardify"><a href="https://core.trac.wordpress.org/ticket/2523" class="nocard">#2523</a></span>):

I'd expect my issue reference to be ignored when it already has a link.

Change History (2)

#1 @samuelsidler
8 years ago

  • Owner set to pento
  • Status changed from new to assigned

#2 @obenland
7 years ago

#2602 was marked as a duplicate.

Note: See TracTickets for help on using tickets.