Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to close tags in comparison #60

Open
MatheusBonadio opened this issue Apr 3, 2024 · 0 comments
Open

Failed to close tags in comparison #60

MatheusBonadio opened this issue Apr 3, 2024 · 0 comments

Comments

@MatheusBonadio
Copy link

The HTML returned by comparing two files generated tags without closing, which caused misinterpretation in the browser and excessive tabulation with lists.

HTML generated by library: The <ul> tag was opened on the 4th line and not closed

<ul>
    <ul style="margin-top: 0cm; margin-bottom: 0px; list-style-type: square;"><del class='diffdel'> </del>
        <li style="text-align: justify;"><span style="font-size: 11pt; font-family: Arial; font-weight: bolder;"><strong style="font-size: 11pt;"><ins class='mod'>Aba Combinações:</span></strong><ins class='diffmod'> </ins>
            <ul>
                <ul style="margin-top: 0cm; margin-bottom: 0px; list-style-type: disc;"><del class='diffdel'> </del>
                    <li style="text-align: justify;"><span style="font-size: 11pt;">Atualize as combinações<ins class='diffins'>&nbsp;</ins></span><strong></strong><span style="font-size: 11pt;"></span>de assinaturas <span style="font-weight: bolder;"></span><strong style="font-size: 11pt;">(Capítulo 17).</span></span></li><del class='diffmod'> </del>
                </ul><del class='diffmod'> </del></ins></strong>
        </li>
    </ul><ins class='diffins'> </ins></li>
</ul>

HTML interpreted by browser: The browser understood that the closure was chained and only found equivalence in the file further on

<ul>
    <ul style="margin-top: 0cm; margin-bottom: 0px; list-style-type: square;"> <del class="diffdel"> </del>
        <li style="text-align: justify;"><span style="font-size: 11pt; font-family: Arial; font-weight: bolder;"><strong style="font-size: 11pt;"><ins class="mod">Aba Combinações:</ins></strong></span><ins class="diffmod"> </ins>
            <ul>
                <ul style="margin-top: 0cm; margin-bottom: 0px; list-style-type: disc;"> <del class="diffdel"> </del>
                    <li style="text-align: justify;"><span style="font-size: 11pt;">Atualize as combinações<ins class="diffins">&nbsp;</ins></span><strong></strong><span style="font-size: 11pt;"></span>de assinaturas <span style="font-weight: bolder;"></span><strong style="font-size: 11pt;">(Capítulo 17).</strong></li><strong style="font-size: 11pt;"><del class="diffmod"> </del></strong>
                </ul><strong style="font-size: 11pt;"><del class="diffmod"> </del></strong>
            </ul><ins class="diffins"> </ins>
        </li>

        [...]

</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant