Skip to content
This repository has been 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

Closed
IanMayo opened this issue Nov 21, 2023 · 0 comments · May be fixed by #555
Closed

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

IanMayo opened this issue Nov 21, 2023 · 0 comments · May be fixed by #555
Assignees
Labels
enhancement New feature or request

Comments

@IanMayo
Copy link
Contributor

IanMayo commented Nov 21, 2023

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

2 participants