diff --git a/src/UglyToad.PdfPig.DocumentLayoutAnalysis/Export/AltoXmlTextExporter.cs b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/Export/AltoXmlTextExporter.cs
index 6e826e77..acbe5827 100644
--- a/src/UglyToad.PdfPig.DocumentLayoutAnalysis/Export/AltoXmlTextExporter.cs
+++ b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/Export/AltoXmlTextExporter.cs
@@ -2,7 +2,6 @@
{
using Alto;
using Content;
- using Core;
using DocumentLayoutAnalysis;
using System;
using System.Globalization;
@@ -147,7 +146,7 @@
altoPage.PrintSpace.TextBlock = blocks;
altoPage.PrintSpace.Illustrations = page.GetImages().Select(i => ToAltoIllustration(i, page.Height)).ToArray();
-
+
if (includePaths)
{
altoPage.PrintSpace.GraphicalElements = page.ExperimentalAccess.Paths
@@ -288,7 +287,7 @@
ProcessingSoftware = new AltoDocument.AltoProcessingSoftware
{
SoftwareName = "PdfPig",
- SoftwareCreator = @"https://github.com/UglyToad/PdfPig",
+ SoftwareCreator = "https://github.com/UglyToad/PdfPig",
ApplicationDescription = "Read and extract text and other content from PDFs in C# (port of PdfBox)",
SoftwareVersion = "x.x.xx"
},
diff --git a/src/UglyToad.PdfPig.DocumentLayoutAnalysis/Export/HOcrTextExporter.cs b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/Export/HOcrTextExporter.cs
index 4f77dfc2..40cc53dc 100644
--- a/src/UglyToad.PdfPig.DocumentLayoutAnalysis/Export/HOcrTextExporter.cs
+++ b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/Export/HOcrTextExporter.cs
@@ -49,7 +49,7 @@
///
/// The document.
/// Draw PdfPaths present in the page.
- /// Will add a reference to the 'hocrjs' script just before the closing 'body' tag, adding the
+ /// Will add a reference to the 'hocrjs' script just before the closing 'body' tag, adding the
/// interface to a plain hOCR file.See https://github.com/kba/hocrjs for more information.
public string Get(PdfDocument document, bool includePaths = false, bool useHocrjs = false)
{
@@ -61,10 +61,13 @@
hocr += GetCode(page, includePaths) + "\n";
}
- if (useHocrjs) hocr += indentChar + indentChar + Hocrjs;
+ if (useHocrjs)
+ {
+ hocr += indentChar + indentChar + Hocrjs;
+ }
+
hocr += indentChar + "