invalid list modteration markup breaks webkit

Bug #504024 reported by Curtis Hovey
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Unassigned

Bug Description

The HeldMessageView and message-moderation.pt create ill-formed markup that makes the message moderation page unuseable in webkit browsers. I have observed two issues:

1) The template uses `structure view/author`, but the author field is not HTML. The angle brakets are not escaped, creating an unclosed tag.

2) The view's initialize() method is using `paragraphs.append('\n<p>\n')` which creates an unclosed paragraph. (this markup was deprecated in 1994 and it invalid XHTML which the page claims to be).

Both of these errors can cause form submittal errors.

Related branches

Curtis Hovey (sinzui)
tags: added: mailing-lists
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Triaged → In Progress
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fixed in launchpad-devel r10160.

Changed in launchpad-registry:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: Curtis Hovey (sinzui) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

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