Skip to content

--tidy-mark no leaves blank line before <style> #1145

Open
@jidanni

Description

@jidanni

--tidy-mark no needs to be sure no blank line is left before any <style>

$ tidy -quiet n.html 
<!DOCTYPE html>
<html>
<head>
<meta name="generator" content=
"HTML Tidy for HTML5 for Linux version 5.8.0">
<style type="text/css">
  h1{ text-align: center; }
</style>
<title>Hi</title>
</head>
<body>
<p>Test</p>
</body>
</html>
$ tidy --tidy-mark no -quiet n.html
<!DOCTYPE html>
<html>
<head>

<style type="text/css">
  h1{ text-align: center; }
</style>
<title>Hi</title>
</head>
<body>
<p>Test</p>
</body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions