Ticket #1485974 (closed Bugs: fixed)

Opened 14 months ago

Last modified 14 months ago

Message HTML Rewrite

Reported by: OME Owned by:
Priority: 5 Milestone: 0.3-stable
Component: User Interface Version: 0.2.2
Severity: normal Keywords: HTML Rewrite
Cc:

Description

We had a few messages render incorrectly in RC v. 0.2.2 and found that the messages were being rendered such that a div tag that had it's end tag immediately following the opening tag was converted to a self contained tag. See below:

original HTML:

<div style="whatever"></div>

converted to:

<div style="whatever" />

The original HTML was checked against the original message on the server as well as several clients and the issue only occurred in RoundCube.

Please let us know if you would like to see more specific examples and we will attempt to capture one. (Unfortunately we let the last one go before we decided to do a bug report. Sorry.)

Change History

Changed 14 months ago by alec

  • milestone changed from later to 0.3-stable

It's because we're sending xhtml page with text/html content-type. We've got two possibilities to fix this issue:
1. Send page with application/xhtml+xml content-type, which is best solution, but will require more work because it breaks other things.
2. Just don't use self-closing tags in washtml class output.

Changed 14 months ago by alec

  • status changed from new to closed
  • resolution set to fixed

Fixed in r2759.

Note: See TracTickets for help on using tickets.