#48602 closed defect (bug) (duplicate)
wptexturize: smart quotes: should ignore tags inside quotes
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.2.1 |
Component: | Formatting | Keywords: | has-patch needs-unit-tests |
Focuses: | Cc: |
Description (last modified by )
Source (in editor):
"abc <a href="http://site.com">def</a>".
After save:
Actual: «abc [http://site.com def]«
.
Expected: «abc [http://site.com def]»
.
Change History (6)
#2
@
5 years ago
- Keywords has-patch needs-unit-tests added
- Milestone changed from Awaiting Review to Future Release
#3
@
4 years ago
Thanks for raising this ticket. I came across the same issue today, and mentioned it in support. In a reply, @vladytimy helpfully replicated and illustrated the problem more clearly.
#4
@
4 years ago
This also occurs when using MarkDown in the classic editor:
Read "[Text](https://example.com)".
Renders as
Read “<a href="https://example.com">text</a>“.
Note: See
TracTickets for help on using
tickets.
Thanks for opening this ticket, @kurakin_alexander, I've run into this myself recently.
A few variations:
A first patch could probably add those to the tests.