Description

the display of preformatted text is broken for display in internet explorer. we asked our specalist (spec i alist is in the spam list???) and he suggested:

the <SPAN> element is no blocklevel element but an inline element. as various browsers display this differently, it is recommended to include this in a block level element like <div> to rule out display problems.

Steps to reproduce

  1. do this...

Example

URL: http://www.selenic.com/mercurial/wiki/index.cgi/TipsAndTricks

moin-no-div-with-pre.png

   1 diff -r 5cbd34317a4b span.html
   2 --- a/span.html Mon Jul 23 16:02:38 2007 +0200
   3 +++ b/span.html Mon Jul 23 16:07:03 2007 +0200
   4 @@ -1,7 +1,8 @@
   5  <h3 id="head-9a49a7405a44a17b23477cf9cacacf2c800c4fdd">Undo an "hg add"</h3>
   6 +<div>
   7  <span class="anchor" id="line-32"></span>
   8  <span class="anchor" id="line-33"></span>
   9 -<p class="line867">
  10 +<p class="line867"></p>
  11  <span class="anchor" id="line-34"></span>
  12  <pre>hg revert # take out of source control
  13  <span class="anchor" id="line-35"></span>
  14 @@ -11,12 +12,14 @@ hg rm -f # remove it
  15 
  16  <span class="anchor" id="line-37"></span>
  17  <span class="anchor" id="line-38"></span>
  18 -<p class="line867">
  19 +<p class="line867"></p>
  20 +</div>
  21  <h3 id="head-903d2da677af8b40172345b98072b4b2826bad22">Save a push URL so that you don't need to enter it each time</h3>
  22 +<div>
  23  <span class="anchor" id="line-39"></span><span class="anchor" id="line-40"></span>
  24  <p class="line874">It is possible to store a default push URL that will be used when you type just "hg push". Edit .hg/hgrc and add something like : <span class="anchor" id="line-41"></span>
  25 -<span class="anchor" id="line-42"></span>
  26 -<p class="line867"><span class="anchor" id="line-43"></span>
  27 +<span class="anchor" id="line-42"></span></p>
  28 +<p class="line867"><span class="anchor" id="line-43"></span></p>
  29  <pre>[paths]
  30  <span class="anchor" id="line-44"></span>default-push = ssh://hg@example.com/path
  31  <span class="anchor" id="line-45"></span>
  32 @@ -24,5 +27,6 @@ hg rm -f # remove it
  33 
  34  <span class="anchor" id="line-46"></span>
  35  <span class="anchor" id="line-47"></span>
  36 -<p class="line867">
  37 +<p class="line867"></p>
  38 +<div>
  39  <h3 id="head-b358a7d8682e84e3faed3d60f1b48c53a30bd683">Track changes to a repository with RSS</h3>

Component selection

Details

MoinMoin Version

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

see also MoinMoinBugs/MoreIeRenderingIssues, MoinMoinBugs/InternetExplorerPeekABooBugInRightSideBar.

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/DivMissingWithPre (last edited 2007-10-29 19:09:15 by localhost)