aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-09 00:53:33 -0800
committerfriendica <info@friendica.com>2014-01-09 00:53:33 -0800
commitc6b9e443530fa2598f931571a0aa026b7bef8992 (patch)
treeafada98d636fe9375fbe2442e5dd7bc8f9df8ada
parent3c477ea8d68f4d92541919490511fb4199364272 (diff)
downloadvolse-hubzilla-c6b9e443530fa2598f931571a0aa026b7bef8992.tar.gz
volse-hubzilla-c6b9e443530fa2598f931571a0aa026b7bef8992.tar.bz2
volse-hubzilla-c6b9e443530fa2598f931571a0aa026b7bef8992.zip
fix table bbcode
-rw-r--r--include/bbcode.php2
-rw-r--r--version.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index dfb0b9fb8..9f07b71ce 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -433,7 +433,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
if (strpos($Text,'[tr]') !== false) {
$Text = preg_replace("/\[tr\](.*?)\[\/tr\]/sm", '<tr>$1</tr>' ,$Text);
}
- if (strpos($Text,'[table]') !== false) {
+ if (strpos($Text,'[/table]') !== false) {
$Text = preg_replace("/\[table\](.*?)\[\/table\]/sm", '<table>$1</table>' ,$Text);
$Text = preg_replace("/\[table border=1\](.*?)\[\/table\]/sm", '<table border="1" >$1</table>' ,$Text);
$Text = preg_replace("/\[table border=0\](.*?)\[\/table\]/sm", '<table border="0" >$1</table>' ,$Text);
diff --git a/version.inc b/version.inc
index a90b55250..e61cdf1f9 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2014-01-08.551
+2014-01-09.552