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

white space eaten in some cases too much #12

Closed
grobian opened this issue Oct 18, 2020 · 2 comments
Closed

white space eaten in some cases too much #12

grobian opened this issue Oct 18, 2020 · 2 comments

Comments

@grobian
Copy link
Owner

grobian commented Oct 18, 2020

<b>a </b>test! renders as atest, because the whitespace in the tag is eaten

@grobian
Copy link
Owner Author

grobian commented Jul 29, 2023

check HTMLControl.cpp around line 125

@grobian
Copy link
Owner Author

grobian commented Jul 29, 2023

this specifically:

            /* Erase whitespace before end tag or block start tag. */
            else if (!literal_mode && (
                    next_token_tag_type == END_TAG ||
                    next_token_tag_type == BLOCK_END_TAG ||
                    next_token_tag_type == BLOCK_START_TAG
                    ))

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