-
Notifications
You must be signed in to change notification settings - Fork 435
Closed
Labels
Description
For a while, running tidy -i -m -q -w 0 -ashtml -utf8 filename.html was outputting exactly how I wanted.
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
</head>
<body>
<div class="row">
<div class="col1">Column 1</div>
<div class="col2">Column 2</div>
</div>
</body>
</html>Wanting to improve my workflow, I added the following to my ~/.tidyrc:
indent: yes
indent-spaces: 4
tidy-mark: no
wrap: 0
quiet: yes
However tidy began adding newlines after <div class="url"> and any content in the <div>.
<div class="col1">
Column 1
</div>Now, no matter what I try (even removing .tidyrc) I can't seem to get that functionality back. Did I hallucinate that it did this before? I really prefer content within tags to remain on the same line.
What combination of .tidyrc parameters and command-line flags allows this to happen?
Reactions are currently unavailable