bugbug icon indicating copy to clipboard operation
bugbug copied to clipboard

[code_review] Don't collapse whitespaces when posting comments

Open marco-c opened this issue 11 months ago • 1 comments

See also https://bugzilla.mozilla.org/show_bug.cgi?id=1959255.

marco-c avatar Apr 23 '25 13:04 marco-c

Considering the case mentioned in Bug 1959255, when posting the comment on Phabricator, it will be posted with the correct layout.

The issue is that the add-on does not show the layout when it is in the preview mode because we need to convert the text to an HTML layout.

Since Phabricator uses Remarkup instead of Markdown, we need to treat the text as Remarkup when converting it to HTML to match the expected behaviour.

suhaibmujahid avatar Apr 23 '25 13:04 suhaibmujahid