aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2016-08-31 13:17:34 +0200
committerjeroenpraat <jeroenpraat@xs4all.nl>2016-08-31 13:17:34 +0200
commit38ea71c6c987d54c4029b14043cd6b13bd71f4b1 (patch)
tree50ee7e93df6aaae56fa8926de1e854cf8e44c128 /include/bbcode.php
parent37ad734cead89df63edd75a4c3c3a4fb5b4847bc (diff)
parente9462ba14529b7172ba5a21e7985d24de91faa37 (diff)
downloadvolse-hubzilla-38ea71c6c987d54c4029b14043cd6b13bd71f4b1.tar.gz
volse-hubzilla-38ea71c6c987d54c4029b14043cd6b13bd71f4b1.tar.bz2
volse-hubzilla-38ea71c6c987d54c4029b14043cd6b13bd71f4b1.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index db3a1011b..2d86bd263 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -769,6 +769,8 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false)
}
// Check for list text
$Text = str_replace("[*]", "<li>", $Text);
+ $Text = str_replace("[]", "<li><input class=\"listcheckbox\" type=\"checkbox\" disabled=\"disabled\">", $Text);
+ $Text = str_replace("[x]", "<li><input class=\"listcheckbox\" type=\"checkbox\" checked=\"checked\" disabled=\"disabled\">", $Text);
// handle nested lists
$endlessloop = 0;