aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-22 01:50:06 -0800
committerfriendica <info@friendica.com>2012-02-22 01:50:06 -0800
commit390eb15e7d00a0616d73cc86595182f099639644 (patch)
tree7e8b7e650ece465cd33807e4f1ada58dc642fbf8 /include
parenta19ddb48eee91608b9b0e368e2db51765e66c089 (diff)
downloadvolse-hubzilla-390eb15e7d00a0616d73cc86595182f099639644.tar.gz
volse-hubzilla-390eb15e7d00a0616d73cc86595182f099639644.tar.bz2
volse-hubzilla-390eb15e7d00a0616d73cc86595182f099639644.zip
never enough documentation
Diffstat (limited to 'include')
-rwxr-xr-xinclude/text.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php
index 38ac58a6c..0f7d2f731 100755
--- a/include/text.php
+++ b/include/text.php
@@ -675,6 +675,15 @@ function linkify($s) {
* @Parameter: string $s
*
* Returns string
+ *
+ * It is expected that this function will be called using HTML text.
+ * We will escape text between HTML pre and code blocks from being
+ * processed.
+ *
+ * At a higher level, the bbcode [nosmile] tag can be used to prevent this
+ * function from being executed by the prepare_text() routine when preparing
+ * bbcode source for HTML display
+ *
*/
if(! function_exists('smilies')) {