Browse Source

Fix temp issue

hidden_tags_with_bookmarks
Orzu Ionut 3 years ago
parent
commit
52ef116bcf
  1. 8
      app/Ingest/PDFConvertor.php

8
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';
}

Loading…
Cancel
Save