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
6
org/testdata/options.html
vendored
6
org/testdata/options.html
vendored
|
@ -3,14 +3,12 @@
|
|||
<span class="priority">[A]</span>
|
||||
<code class="verbatim">#+OPTIONS:</code> toggles supported by <code class="verbatim">go-org</code>   <span class="tags"><span>tag1</span> <span>tag2</span></span>
|
||||
</h2>
|
||||
<p>
|
||||
<code class="verbatim">go-org</code> supports multiple export toggles as described in the <a href="https://orgmode.org/manual/Export-settings.html">export settings</a> section of the Org mode manual.
|
||||
<p><code class="verbatim">go-org</code> supports multiple export toggles as described in the <a href="https://orgmode.org/manual/Export-settings.html">export settings</a> section of the Org mode manual.
|
||||
By default (most of?) those toggles are enabled. This file starts with <code class="verbatim">#+OPTIONS: toc:nil f:nil e:nil</code> and thus
|
||||
disables the table of contents, footnotes & entities.
|
||||
That means, entities like <code class="verbatim">---</code> --- (mdash) will be left untouched, footnotes like <code class="verbatim">[fn:1]</code> will
|
||||
not be exported and there won't be a table of contents at the top.
|
||||
As buffer options are merged with the defaults, the above headline will be exported <strong>with</strong> priority, todo status & tags.
|
||||
</p>
|
||||
As buffer options are merged with the defaults, the above headline will be exported <strong>with</strong> priority, todo status & tags.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue