Open Bug 1605221 Opened 5 years ago Updated 5 years ago

preserve whitespace in code tags

Categories

(Websites :: wiki.mozilla.org, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: raysatiro, Unassigned)

Details

Attachments

(1 file)

Attached image css.PNG

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0

Steps to reproduce:

  1. https://wiki.mozilla.org/User:Jorgk/8-bit_bytes_and_e-mail_corruption_at_Verizon,_Yahoo,_etc.#State_1:_All_8bit_characters_are_destroyed
  2. Inspect code text in paragraph "Hi Bob, raining today."
  3. Observe there's actually two spaces between the comma and raining: "Hi Bob,<SPACE><SPACE>raining today."

Actual results:

Whitespace isn't preserved in the code tags.

Expected results:

The whitespace should be preserved. The examples in that paragraph have the double space purposely. Adding white-space: pre to code css in load.php works.

CC to Jorg K please.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: