Editing a comment loses formatting

Bug #2084603 reported by melanie witt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

After editing a comment, any formatting that had been in the comment is lost.

Example before edit:

            with self.rt.instance_claim(context, instance, node, allocations,
                                        limits):
                self.network_api.setup_instance_network_on_host(
                    context, instance, self.host,
                    provider_mappings=provider_mappings)
                network_info = self.network_api.get_instance_nw_info(
                    context, instance)

Example after edit:

with self.rt.instance_claim(context, instance, node, allocations,
limits):
self.network_api.setup_instance_network_on_host(
context, instance, self.host,
provider_mappings=provider_mappings)
network_info = self.network_api.get_instance_nw_info(
context, instance)

tags: added: comments ui
Changed in launchpad:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Ines Almeida (ines-almeida) wrote :

Can confirm that the UI does show the unformatted commented in the UI when it's edited, but when the page is refreshed the formatting is in place.

The bug happens in the edit textbox display in particular, not on a database level nor on the usual comment display.

tags: added: trivial
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.