html: Remove cosmetic whitespace inside p tags
All tags are put on a line by themselves to help with visual diffing. Apparently this extra cosmetic whitespace causes problems inside p tags for ppl who want to use `white-space: pre`. Not much hurt for visual diffing in removing cosmetic whitespace for just p tags and can't think of anything that would break because of this right now. So let's do it and wait for things to break.
This commit is contained in:
parent
30dd2794cf
commit
a383eef7a6
15 changed files with 216 additions and 577 deletions
7
blorg/testdata/public/about.html
vendored
7
blorg/testdata/public/about.html
vendored
|
@ -24,13 +24,10 @@
|
|||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<h1 class="title"><p>
|
||||
About
|
||||
</p>
|
||||
<h1 class="title"><p>About</p>
|
||||
</h1>
|
||||
<p>
|
||||
and some content
|
||||
</p>
|
||||
and some content</p>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
|
4
blorg/testdata/public/post.html
vendored
4
blorg/testdata/public/post.html
vendored
|
@ -24,9 +24,7 @@
|
|||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<h1 class="title"><p>
|
||||
some post
|
||||
</p>
|
||||
<h1 class="title"><p>some post</p>
|
||||
</h1>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue