From 157027a6f5b27846910f4f0915d044491ba5441f Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 5 Feb 2018 11:42:06 -0500 Subject: [PATCH] Improve BBCode documentation/comment --- doc/BBCode.md | 23 ++++++++++++++++++++++- src/Content/Text/BBCode.php | 2 +- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/doc/BBCode.md b/doc/BBCode.md index 6eebed486..946c61f24 100644 --- a/doc/BBCode.md +++ b/doc/BBCode.md @@ -165,7 +165,7 @@ line code - [code=php]function text_highlight($s,$lang)[/code] + [code=php]function text_highlight($s,$lang)[/code]1
  1.  function text_highlight($s,$lang)
@@ -208,6 +208,27 @@ code +1: Supported language parameter values for code highlighting: +- abap +- avrc +- cpp +- css +- diff +- dtd +- html +- java +- javascript +- js +- mysql +- perl +- php +- python +- ruby +- sh +- sql +- vbscript +- xml + ### Titles diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index a4eb46115..d68208a60 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -1075,7 +1075,7 @@ class BBCode } // We only call this so that a previously unknown contact can be added. - // This is important for the function "get_contact_details_by_url". + // This is important for the function "Model\Contact::getDetailsByURL()". // This function then can fetch an entry from the contact table. Contact::getIdForURL($profile, 0);