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 | 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 (2)
Note: See
TracTickets for help on using
tickets.
#2602 was marked as a duplicate.