mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-26 00:10:55 +01:00
horrible bug in the "post too long. click here to view the full text" truncating
This commit is contained in:
parent
4c5ca69a54
commit
4772a09423
@ -188,7 +188,7 @@
|
||||
// List successfully closed tags
|
||||
if(preg_match_all('/(<\/([\w]+))>/', $body, $closed_tags)) {
|
||||
for($x=0;$x<count($closed_tags[0]);$x++) {
|
||||
unset($tags[array_search($closed_tags[1][$x], $tags)]);
|
||||
unset($tags[array_search($closed_tags[2][$x], $tags)]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user