Opened 12 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 , 12 years ago
Attachment: | ticket_19429.diff added |
---|
comment:1 by , 12 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 , 12 years ago
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 10 years ago
Resolution: | fixed |
---|---|
Status: | closed → new |
Version: | 1.4 → 1.8 |
I had the same issue in 1.8 . A quick inspection of the source code revealed that the problem is exactly the same. The original patch is applicable to the version 1.8
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.