From 52ef116bcfd9c6cce4d340ef628f17c387c92726 Mon Sep 17 00:00:00 2001 From: Orzu Ionut Date: Wed, 16 Jun 2021 13:12:33 +0300 Subject: [PATCH] Fix temp issue --- app/Ingest/PDFConvertor.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/Ingest/PDFConvertor.php b/app/Ingest/PDFConvertor.php index 2b86d7e..7abde61 100644 --- a/app/Ingest/PDFConvertor.php +++ b/app/Ingest/PDFConvertor.php @@ -237,15 +237,17 @@ class PDFConvertor extends AbstractConvertor protected function getTag($size) { - if ($size > 24) { + // @TODO Needed to bump values up by 2, the XML loader gives different results on different servers. + + if ($size > 26) { return 'h1'; } - if ($size > 18) { + if ($size > 20) { return 'h2'; } - if ($size > 16) { + if ($size > 18) { return 'h3'; }