forked from Cavemanon/cavepaintings
make anchors visible in the page, not just in the markup
This commit is contained in:
@ -74,7 +74,7 @@ class BBCodeUnitTest extends UnitTestCase {
|
||||
public function testAnchor() {
|
||||
$this->assertEqual(
|
||||
$this->filter("[anchor=rules]Rules[/anchor]"),
|
||||
"<a name=\"bb-rules\">Rules</a>");
|
||||
'<span class="anchor">Rules <a class="alink" href="#bb-rules" name="bb-rules" title="link to this anchor"> ¶ </a></span>');
|
||||
}
|
||||
|
||||
private function filter($in) {
|
||||
|
Reference in New Issue
Block a user