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

Issues encountered while processing <a> tags #333

Open
hw30026125 opened this issue Apr 10, 2024 · 0 comments
Open

Issues encountered while processing <a> tags #333

hw30026125 opened this issue Apr 10, 2024 · 0 comments

Comments

@hw30026125
Copy link

When I have the following table and hyperlink in my html code

```html
<table>
    <tr>
        <td>
            <a href="http://www.bing.com">
                <table>
                    <tbody>
                    <tr>
                        <td>
                            <a href="http://www.bing.com">11111</a>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <a href="http://www.bing.com">22222</a>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </a>
        </td>
    </tr>
</table>
```

After the owasp processing, the code becomes like this:

```
    <table>
        <tbody>
            <tr>
                <td>
                    <a href="http://www.bing.com">
                        <table>
                            <tbody>
                                <tr>
                                    <td> </td>
                                </tr>
                            </tbody>
                        </table>
                    </a>
                    <a href="http://www.bing.com">11111</a>
                </td>
            </tr>
            <tr>
                <td>
                    <a href="http://www.bing.com">22222</a>
                </td>
            </tr>
        </tbody>
    </table>
```

The original layout of the table has changed. Is this a bug?

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