From f397d494e022e09b3783bb59811349c2c8459d51 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Thu, 5 May 2011 23:55:59 +0000 Subject: [PATCH] MINOR: avoid wrapping api links in code tags as parser cannot handle it. git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@118563 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- sapphiredocs/code/DocumentationParser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapphiredocs/code/DocumentationParser.php b/sapphiredocs/code/DocumentationParser.php index 9230c7d..6a9c223 100644 --- a/sapphiredocs/code/DocumentationParser.php +++ b/sapphiredocs/code/DocumentationParser.php @@ -168,7 +168,7 @@ class DocumentationParser { $url = sprintf(self::$api_link_base, $subject, $page->getVersion(), $page->getEntity()->getModuleFolder()); $md = str_replace( $match, - sprintf('[%s](%s)', $title, $url), + sprintf('[%s](%s)', $title, $url), $md ); } @@ -189,7 +189,7 @@ class DocumentationParser { $url = sprintf(self::$api_link_base, $subject, $page->getVersion(), $page->getEntity()->getModuleFolder()); $md = str_replace( $match, - sprintf('[%s](%s)', $subject, $url), + sprintf('[%s](%s)', $subject, $url), $md ); }