Skip to content

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

@wyatt-wong

Description

@wyatt-wong

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions