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

maproulette_details: Remove nested p-tags #1687

Closed
wants to merge 2 commits into from

Conversation

tordans
Copy link

@tordans tordans commented Feb 7, 2025

The append('p') followed by html(markdown) resulted in nested p-tags which are not ideal for the browser to handle.

I kept the wrapper in place but changed it to a div instead, just in case. — Update: Actually, the div breaks the margins/paddings so having it without any wrapper looks best.

Before

image

After (Simulated in Inspector)

image

Maybe related to #1686

The append(p) followed by html(markdown) resulted in nested p-tags which are not ideal for the browser to handle.
@tordans
Copy link
Author

tordans commented Feb 7, 2025

Will resolve this when looking into #1686.
I don't think this code does work.

@tordans tordans closed this Feb 7, 2025
@tordans tordans deleted the patch-1 branch February 7, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants