Permalink
Browse files

Removed stupid Q. and A. formatting that just confused people.

  • Loading branch information...
1 parent 095ebcd commit 0518065ed564dc1671e725841b4ccb59519458cf thepurpleblob committed Aug 26, 2003
Showing with 0 additions and 14 deletions.
  1. +0 −14 lib/wiki.php
View
@@ -391,20 +391,6 @@ function format( $content ) {
$buffer = $buffer . eregi_replace( "^\%","",$line) . "\n";
$this->block_state = STATE_NOTIKI;
}
- else
- if (eregi("^Q\. ",$line) ) {
- // Question - para with a question class
- $buffer = $buffer . "<p class=\"question\">\n";
- $buffer = $buffer . eregi_replace( "^Q. ","",$line) . "\n";
- $this->block_state = STATE_PARAGRAPH;
- }
- else
- if (eregi("^A\. ",$line) ) {
- // Answer - para with an answer class
- $buffer = $buffer . "<p class=\"answer\">\n";
- $buffer = $buffer . eregi_replace( "^A. ","",$line ) . "\n";
- $this->block_state = STATE_PARAGRAPH;
- }
else {
// ordinary paragraph
$buffer = $buffer . "<p>\n";

0 comments on commit 0518065

Please sign in to comment.