WordPress.org

Making WordPress.org

Opened 11 months ago

Last modified 11 months ago

#2440 assigned defect

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

Reported by: danielbachhuber Owned by: 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 (1)

#1 @samuelsidler
11 months ago

  • Owner set to pento
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.