Summary

Wiki CSS breaks when the wiki page starts with <enscript ...>

Metadata

Attachments

Description

As noticed by Kooda, an element marked up with <enscript ...> right at the start of a wiki page looks weird. A workaround is to add any other element before <enscript ...>.

Exemple: if the page title is removed from https://wiki.call-cc.org/Python-like%20generators (the workaround has been applied to this page -- a title has been added), the the visual width of the <enscript ...> element is smaller than it should actually be.

Changes and comments

[2016-08-25 20:21:09 UTC] sjamaan set difficulty to medium

[2016-12-17 01:55:03 UTC] arthurmaciel attached chicken.css (description=New CSS file to fix bug.)

[2016-12-17 01:57:38 UTC] arthurmaciel wrote:

This is a corner case for <pre> elements as first-child of <div id="content">. The attached CSS fixes the problem without changing overall design.

[2016-12-17 11:46:15 UTC] sjamaan changed status from new to closed

[2016-12-17 11:46:15 UTC] sjamaan set resolution to fixed

[2016-12-17 11:46:15 UTC] sjamaan wrote:

Thanks, updated. This fixes the problem