aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-28 11:25:26 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-28 11:25:26 -0800
commit2b786e7518e89a9b39a470cd7c005c9fd91e84f7 (patch)
treee7a7904b6e6aa7d16c66a0f49426131330f61318
parentc76c6c52249118e49c5dd1b99fe916724350a590 (diff)
parent5d80361089c92c4a5843054ac5c58b86e3dc1d48 (diff)
downloadpandoc-2b786e7518e89a9b39a470cd7c005c9fd91e84f7.tar.gz
Merge pull request #76 from ousia/master
YAML rights containing blank lines should be wrapped in a <div> (not <p>)
-rw-r--r--default.epub2
-rw-r--r--default.epub32
2 files changed, 2 insertions, 2 deletions
diff --git a/default.epub b/default.epub
index 53993af16..a30de3a45 100644
--- a/default.epub
+++ b/default.epub
@@ -40,7 +40,7 @@ $if(date)$
<p class="date">$date$</p>
$endif$
$if(rights)$
- <p class="rights">$rights$</p>
+ <div class="rights">$rights$</div>
$endif$
$else$
$body$
diff --git a/default.epub3 b/default.epub3
index aa6ef1a9a..421088ec2 100644
--- a/default.epub3
+++ b/default.epub3
@@ -45,7 +45,7 @@ $if(date)$
<p class="date">$date$</p>
$endif$
$if(rights)$
- <p class="rights">$rights$</p>
+ <div class="rights">$rights$</div>
$endif$
</section>
$else$