Opened 13 years ago
Closed 10 years ago
#19429 closed Bug (fixed)
Admin inlines readonly fields ignore newlines
| Reported by: | anonymous | Owned by: | nobody | 
|---|---|---|---|
| Component: | contrib.admin | Version: | 1.8 | 
| Severity: | Normal | Keywords: | |
| Cc: | Marc Aymerich | Triage Stage: | Ready for checkin | 
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | yes | UI/UX: | no | 
Description
like bug #19226 but with inlines. 
The problem is readonly fields in inlines are rendered inside a <p></p> without <br> tags for each line.
Attachments (1)
Change History (7)
by , 13 years ago
| Attachment: | ticket_19429.diff added | 
|---|
comment:1 by , 13 years ago
| Cc: | added | 
|---|---|
| Component: | Uncategorized → contrib.admin | 
| Easy pickings: | set | 
| Has patch: | set | 
| Triage Stage: | Unreviewed → Ready for checkin | 
| Type: | Uncategorized → Bug | 
comment:2 by , 13 years ago
comment:3 by , 13 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
comment:5 by , 10 years ago
| Resolution: | fixed | 
|---|---|
| Status: | closed → new | 
| Version: | 1.4 → 1.8 | 
Version 0, edited 10 years ago by   (next)
          comment:6 by , 10 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
In 1.8, the implementation has changed, see c94bff2b26f8844fe15d68a79511ff3a6853dc61. If you think that patch is incorrect, please open a new ticket. Thanks.
  Note:
 See   TracTickets
 for help on using tickets.
    
The attached patch fixes the problems and also has tests.