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 preview after adding blank lines in HTML inline CSS #83

Open
wyatt-wong opened this issue Apr 12, 2024 · 1 comment
Open

Failed to preview after adding blank lines in HTML inline CSS #83

wyatt-wong opened this issue Apr 12, 2024 · 1 comment

Comments

@wyatt-wong
Copy link

wyatt-wong commented Apr 12, 2024

I found that after adding blank lines in HTML inline CSS, the HTML preview function failed to work, here is the sample code:

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Test</title>
        <style>
            /* Inline CSS */
            .css1 { color : green; }
            /* ADD BLANK LINE HERE */
            .css2 { color : blue; }
        </style>
    </head>
<body>
<span class="css1">Statement1</span>
<span class="css2">Statement2</span>
</body>
</html>

Can you please confirm this ?

@wyatt-wong
Copy link
Author

It seems that the html preview to work under certain situations.

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