Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Identify where whitespace has been inserted as placeholder for absolute content #548

@IanMayo

Description

@IanMayo

I'm trying to fix instances where an element (typically table or image) is declared out of sequence in the file, but positioned in the right place using absolute coordinates.

One clue to this happening is the manual generation of whitespace as a placeholder.

This looks like:

             <p>&nbsp;</p>
           <p>&nbsp;</p>
            <p>&nbsp;</p>
             <p>&nbsp;</p>

Note: there isn't a predictable amount of whitespace before the elements.

There are pages and pages of this manually inserted white space in the gaps between BottomLayer elements - but they are more rare within the content we are processing.

We need a trigger for the number of above elements that trigger this warning. Let's start with 4.

I have generated some content to trigger this warning in France1/FR_Transducers.html. If it's a manageable quantity of warnings I can steadily work through them. As I put the content in the correct place I can remove the whitespace - and I should see the number of warnings go down.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions