mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
Merge pull request #807 from seisatsu/dev
Fix typo in post.php that breaks Tesseract OCR
This commit is contained in:
commit
ce844b9270
2
post.php
2
post.php
@ -1197,7 +1197,7 @@ if (isset($_POST['delete'])) {
|
||||
if ($txt !== '') {
|
||||
// This one has an effect, that the body is appended to a post body. So you can write a correct
|
||||
// spamfilter.
|
||||
$post['body_nomarkup'] .= "<tinyboard ocr image $key>" . htmlspecialchars($value) . "</tinyboard>";
|
||||
$post['body_nomarkup'] .= "<tinyboard ocr image $key>" . htmlspecialchars($txt) . "</tinyboard>";
|
||||
}
|
||||
} catch (RuntimeException $e) {
|
||||
$context->get(Log::class)->log(Log::ERROR, "Could not OCR image: {$e->getMessage()}");
|
||||
|
Loading…
x
Reference in New Issue
Block a user