A fork of potaka/bbcode to handle future maintenance
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- /**
- * Description of BoldTest
- *
- * @author po_taka <angel.koilov@gmail.com
- */
- class ItalicTest extends PHPUnit_Framework_TestCase {
-
- public function testToHtml() {
- $tag = new Potaka\BbCode\Tag\Italic();
- $bbCode = '[i]i[/i]';
- $html = $tag->format($bbCode);
- $this->assertEquals($html, '<i>i</i>');
- }
-
- }
|