| | @@ -362,11 +362,11 @@ |
| 362 | 362 | char *s = p->icursor + 3; |
| 363 | 363 | |
| 364 | 364 | int count = p->iend - p->icursor - 6; |
| 365 | 365 | while (count--){ |
| 366 | 366 | if (s[0]=='}' && s[1]=='}' && s[2]=='}' && s[3]!='}'){ |
| 367 | | - blob_appendf(p->iblob, "<tt style='background:oldlace'>%s</tt>", htmlize(p->icursor + 3, s - p->icursor-3)); |
| 367 | + blob_appendf(p->iblob, "<tt class='creole-inline-nowiki'>%s</tt>", htmlize(p->icursor + 3, s - p->icursor-3)); |
| 368 | 368 | p->icursor = s + 3; |
| 369 | 369 | return 1; |
| 370 | 370 | } |
| 371 | 371 | s++; |
| 372 | 372 | } |
| | @@ -386,11 +386,11 @@ |
| 386 | 386 | |
| 387 | 387 | int count = p->iend - p->icursor - 4; |
| 388 | 388 | while (count--){ |
| 389 | 389 | if (s[0]=='}' && s[1]=='}'){ |
| 390 | 390 | if (!bar) bar = p->icursor + 2; |
| 391 | | - blob_appendf(p->iblob, "<span style='color:green;border:1px solid green;'>%s</span>", htmlize(bar, s - bar )); |
| 391 | + blob_appendf(p->iblob, "<span class='creole-noimage'>%s</span>", htmlize(bar, s - bar )); |
| 392 | 392 | p->icursor = s + 2; |
| 393 | 393 | return 1; |
| 394 | 394 | } |
| 395 | 395 | if (!bar && s[0]=='|') bar=s+1; |
| 396 | 396 | s++; |
| | @@ -407,13 +407,12 @@ |
| 407 | 407 | |
| 408 | 408 | char *s = p->icursor + 2; |
| 409 | 409 | |
| 410 | 410 | int count = p->iend - p->icursor - 3; |
| 411 | 411 | while (count--){ |
| 412 | | - blob_appendf(p->iblob, "|~%s|", s,2 ); |
| 413 | | - if (s[0]=='>' && s[1]=='>'){ |
| 414 | | - blob_appendf(p->iblob, "<span style='color:red;border:1px solid red;'>%s</span>", htmlize(p->icursor, s - p->icursor + 2)); |
| 412 | + if (s[0]=='>' && s[1]=='>'){ |
| 413 | + blob_appendf(p->iblob, "<span class='creole-nomacro'>%s</span>", htmlize(p->icursor, s - p->icursor + 2)); |
| 415 | 414 | p->icursor = s + 2; |
| 416 | 415 | return 1; |
| 417 | 416 | } |
| 418 | 417 | s++; |
| 419 | 418 | } |
| | @@ -739,11 +738,11 @@ |
| 739 | 738 | return; |
| 740 | 739 | } |
| 741 | 740 | |
| 742 | 741 | if (node->kind & KIND_NO_WIKI_BLOCK){ |
| 743 | 742 | blob_appendf(p->iblob, |
| 744 | | - "\n<blockquote style='background:oldlace'><pre>%s</pre></blockquote>\n", |
| 743 | + "\n<pre class='creole-block-nowiki'>%s</pre>\n", |
| 745 | 744 | htmlize( node->start, node->end - node->start) |
| 746 | 745 | ); |
| 747 | 746 | } |
| 748 | 747 | } |
| 749 | 748 | //}}} |
| 750 | 749 | |