Browse Source

handle tinyboard flags with length=0

tags/vichan-4.9.92
czaks 9 years ago
parent
commit
c3662d4a59
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      inc/functions.php

+ 1
- 1
inc/functions.php View File

@@ -1668,7 +1668,7 @@ function unicodify($body) {
function extract_modifiers($body) {
$modifiers = array();
if (preg_match_all('@<tinyboard ([\w\s]+)>(.+?)</tinyboard>@us', $body, $matches, PREG_SET_ORDER)) {
if (preg_match_all('@<tinyboard ([\w\s]+)>(.*?)</tinyboard>@us', $body, $matches, PREG_SET_ORDER)) {
foreach ($matches as $match) {
if (preg_match('/^escape /', $match[1]))
continue;


Loading…
Cancel
Save