#2060 closed defect (bug) (duplicate)
Text gets texturized in <pre>, <code> if the block contains a tag
| Reported by: | allan | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 2.0.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
If a <code>, <pre>, etc. block contain a tag, then text after that tag gets the usual treatment (smart quotes etc.).
E.g. this text: <pre>"foo"<br>"bar"</pre>
Becomes (after the wptexturize filter): <pre>"foo"<br>“bar”</pre>
Attachments (1)
Change History (4)
#1
@
21 years ago
- Summary Text gets mangled in <code> etc. if the block contain a tag → Text gets texturized in <pre>, <code> if the block contains a tag
- Version 1.5.2 → 2.0.1
Confirming this is still an issue in v2.0.1
Another test case:
<pre>"test"<strong>"test"</strong>"test"</pre>
is transformed into:
<pre>"test"<strong>“test”</strong>“test”</pre>
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch to fix the problem