Asset field "comment": new lines displayed differently for admin- and unprivileged user

Description

How to reproduce:

Put

<this>
one
two
</this>

into a node's "comment" asset field. Save the asset information.

Result: The new line between "one" and "two" is saved.

Leave admin mode and login as an unprivileged user. Then go to the previously edited node asset page.

Result: There is one line for "comment" reading "one two".

Expected result: The new line should be displayed.

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Show:

Jeff Gehlbach June 24, 2011 at 12:30 PM

We ought to test whether this behavior persists in the gwt-asset code.

Dominik April 8, 2011 at 9:57 AM

This patch would do it.

It would display a textbox even for unpriv'd users. That does not mean
the user could change assets, it would just "correct" line break display.

Comments / suggestions welcome.

Details

Assignee

Reporter

Affects versions

Priority

PagerDuty

Created April 7, 2011 at 6:08 AM
Updated July 26, 2023 at 2:19 PM