From: Hypolite Petovan Date: Mon, 5 Feb 2018 16:42:06 +0000 (-0500) Subject: Improve BBCode documentation/comment X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=157027a6f5b27846910f4f0915d044491ba5441f;p=friendica.git Improve BBCode documentation/comment --- diff --git a/doc/BBCode.md b/doc/BBCode.md index 6eebed4864..946c61f247 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 a4eb46115b..d68208a60f 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);