newlines in Reviews inconsistent with USC

Bug #1278515 reported by Samer Masterson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Apps Directory
New
Undecided
Unassigned

Bug Description

I left a review for Orchis GTK3 Theme using the USC client. On the USC client, my review shows the newlines I inserted, but on apps.ubuntu.com the newlines are stripped out.

See https://apps.ubuntu.com/cat/applications/orchis-gtk-theme/ and compare the review (Samer Masterson, 2014-02-10) with the same one in the USC client.

The newlines should be shown on the apps.ubuntu.com page, to match the USC client.

This is a different bug from https://bugs.launchpad.net/ubuntu-webcatalog/+bug/879245 (Reviews displayed are not consistent with USC client)

Related branches

description: updated
description: updated
Revision history for this message
Samer Masterson (samertm) wrote :

You can see here that the new lines are preserved in the HTML, but are ignored b/c the review is wrapped in a paragraph tag: view-source:https://apps.ubuntu.com/cat/applications/saucy/orchis-gtk-theme/reviews-ajax/

Revision history for this message
Samer Masterson (samertm) wrote :

I don't have the development environment set up on my computer, but I'm pretty sure this change is all that is needed. Can someone test this patch?

Revision history for this message
Samer Masterson (samertm) wrote :

The previous patch had a mistake, I used linebreaks instead of linebreaksbr, which might break nesting.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.