https://bugzilla.wikimedia.org/show_bug.cgi?id=38929

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE
         AssignedTo|[email protected]       |[email protected].
                   |                            |org

--- Comment #1 from Krinkle <[email protected]> 2012-08-01 22:56:13 UTC ---
white-space: pre (whether or not with -wrap) was added to.. preformat
whitespace (which it wasn't in some cases).

This works fine in all case, even when wrapping the <pre> in a <div>. The
reason it is wrapped in a <div> is because the fact that SyntaxHighlighter uses
a <pre> is not controllable and the output is not changeable. Not even with
ugly string searching, because it has (and needs) a CSS reset.

The mw-code class in general works just fine, so this is not a bug in the
Vector skin, nor in MediaWiki core for that matter.

It can be used on a <pre> directly, or (in the case of the Geshi
SyntaxHighlight extension) on a wrapper around it.

The problem is that Tidy adds *additional* new line feeds between opening tags
(e.g. between <div> and <pre>) which is (and should) cause them to be visible
in a preformatted context (and whether or not something is preformatted is a
CSS decision, not known to HTML standalone)).

Without Tidy, all this works fine as expected.

*** This bug has been marked as a duplicate of bug 38800 ***

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to