Page MenuHomePhabricator

<pre> elements do not have whitespace preserved/monospace fonts
Open, Needs TriagePublic


Author: juhasz.balint.bebe


Saving articles with example codes in it, makes new lines and monospace fonts disappear and the output becomes simple text which is very unpleasant to read.

Version: unspecified
Severity: major
OS: Windows 7
Platform: PC




Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:51 AM
bzimport added a project: OCG-PDF-renderer.
bzimport set Reference to bz72526.
bzimport added a subscriber: Unknown Object (MLST).

Please provide steps to reproduce or an example link.

juhasz.balint.bebe wrote:

  1. Go to for example.
  1. Download as pdf.
  1. Look at the paragraph >>"Hello, world" example<< where you can see the code as a simple text, wrapped and unformatted.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptNov 29 2015, 2:06 PM

As already announced in Tech News, OfflineContentGenerator (OCG) will not be used anymore after October 1st, 2017 on Wikimedia sites. OCG will be replaced by Electron. You can read more on