TheGroundZero / openvasreporting

OpenVAS Reporting: Convert OpenVAS XML report files to reports
Other
131 stars 45 forks source link

Docx Template spacing issue #13

Closed samredinet closed 4 years ago

samredinet commented 4 years ago

Using the OV-Default style, it seems to have the correct spacing as seen here in a sample report image

However further down the report, it seems to add spaces. Is this due to how the XML is being parsed?

image

Having a look at the XML, there are no rogue spaces there as part of the export. Wondering if it is a word thing? Opened in Libre and Word, same result.

image

TheGroundZero commented 4 years ago

Looking at the first screenshot, the alignment is set to justify, this would cause word spacing to change depending on the needs to fill the line width.

Changing the alignment to left will keep the word spacing consistent.

samredinet commented 4 years ago

wicked! That sorted that right out

cheers for the help :)