[Mediawiki-l] How to enable word wrap of long line within <pre> </pre>?
NSK
nsk2 at wikinerds.org
Mon Oct 18 20:05:23 UTC 2004
On Monday 18 October 2004 22:50, Kiss All wrote:
> How can I achieve word wrap within <pre></pre>?
If you word-wrap a preformatted text, then it is not preformatted anymore :)
MediaWiki has a small problem that causes preformatted text to not being
selected if it is longer than its "box" in monobook. If this is your concern,
then copy-paste the preformatted text from the HTML source code.
If in general you want to apply some wordwrap in a preformatted text, then you
need either to find a utility that does this job or write a shell script
(assuming you work under the GNU operating system), or apply a wordwrap in a
word processor and then copy-paste the resultant text inside a pre tag.
--
NSK
Admin of http://portal.wikinerds.org
Project Manager of http://www.nerdypc.org
Project Manager of http://www.adapedia.org
Project Manager of http://maatworks.wikinerds.org
More information about the MediaWiki-l
mailing list