added the wiki class attribute to the pre block generated from creole.

changed the style for the pre block just mentioned
This commit is contained in:
hyung-hwan 2010-07-12 10:56:13 +00:00
parent 5e8c9698d0
commit 0efa872e3a
2 changed files with 5 additions and 0 deletions

View File

@ -216,6 +216,10 @@ body {
width: inherit;
}
.content .mainarea pre.wiki {
white-space: pre-wrap;
}
.content .mainarea tt {
/*
padding: .1em .1em .1em .1em;

View File

@ -300,6 +300,7 @@ var Url = {
br: { tag: 'br', regex: /\\\\/ },
preBlock: { tag: 'pre', capture: 2,
attrs: { 'class': 'wiki' },
regex: /(^|\n)\{\{\{\n((.*\n)*?)\}\}\}(\n|$)/,
replaceRegex: /^ ([ \t]*\}\}\})/gm,
replaceString: '$1' },