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 |
- 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);