GUMAX and pre tag

Please use this forum to post feedback and suggestions related to GuMax.

GUMAX and pre tag

Postby JLT » November 9th, 2012, 5:07 pm

Hi
I currently use the mediawiki 1.19 and your Gumax plugin
I also use a plugin to show code (syntaxhighlight)
I was surprised to see that all the white spaces are eaten
After a look at ypur style, I have seen that the pre tag is customized,
so I got back that modification
Can you give a reason why you added -moz-pre-wrap attribute in style ?
Code: Select all
pre {
   white-space: -moz-pre-wrap;  /* need for Firefox */
   overflow-x: visible;  /* need for Firefox, extreme long string :( */
   padding: 10px; margin: 12px 0;
   border: 1px dashed #bbb;
   color: #333;
   background-color: #f1f1f1;
   line-height: 1.2em;
}
   pre {
      white-space: pre; /* CSS2 */
      white-space: -moz-pre-wrap; /* Mozilla */
      white-space: -hp-pre-wrap; /* HP printers */
      white-space: -o-pre-wrap; /* Opera 7 */
      white-space: -pre-wrap; /* Opera 4-6 */
      white-space: pre-wrap; /* CSS 2.1 */
      white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
   }
User avatar
JLT
Rank 0
Rank 0
 
Posts: 2
Joined: November 6th, 2011, 4:24 pm

Return to GuMax Suggestions and Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron