[aur-dev] [PATCH] Update PHPDoc description of parse_comment()

Marcel Korpel marcel.korpel at gmail.com
Sat Jul 11 22:00:06 UTC 2015


Signed-off-by: Marcel Korpel <marcel.korpel at gmail.com>
---
 web/lib/aur.inc.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/web/lib/aur.inc.php b/web/lib/aur.inc.php
index d370788..7e85959 100644
--- a/web/lib/aur.inc.php
+++ b/web/lib/aur.inc.php
@@ -596,7 +596,9 @@ function comment_by_id($comment_id) {
 }
 
 /**
- * Process submitted comments so any links can be followed
+ * Process submitted comments so any links can be followed and
+ * parse markdown code blocks and inline code. Only code blocks
+ * delimited with ```<newline> are supported.
  *
  * @param string $comment Raw user submitted package comment
  *
-- 
2.4.5


More information about the aur-dev mailing list