openlibhums / pandoc_plugin

Plugin for janeway for automatic galley generation
GNU Affero General Public License v3.0
4 stars 1 forks source link

don't prettify output html #13

Closed mdlincoln closed 5 years ago

mdlincoln commented 5 years ago

When BS prettifies html, it puts in a lot of line breaks - this is great for humans to read, but it actually changes the way that the HTML renders, specifically by adding space in between the end of a sentence and the footnote number:

<p>
   That origin story appears to have arisen from a 1971 sociology paper, “Patterns of Evaluation in Science: Institutionalization, Structure and Functions of the Referee System” by Harriet Zuckerman and Robert Merton.
   <a class="footnote-ref" href="#fn1" id="fnref1">
    <sup>
     1
    </sup>
   </a>
<p>

This is bad because it actually changes the markup from what pandoc intended. So we won't prettify the html.

Closes https://github.com/dSHARP-CMU/cmesh-dev/issues/295

mdlincoln commented 5 years ago

typesetting... typesetting never changes...