Multiple are removed from the output
I'm using the following HTML page:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>non-breaking space</title>
</head>
<body>
<main>
<section>
<h2>Section 1</h2>
<p> </p>
<p> </p>
<p> a</p>
<p> </p>
</section>
</main>
<script src="https://unpkg.com/pagedjs/dist/paged.polyfill.js"></script>
</body>
</html>
And here's the result:
<section data-ref="9fbf60b6-aa17-438f-8e1e-6bdd9b715ee4">
<h2 data-ref="2cae01fa-dde5-4f29-bdb0-9ddf2a0d56e5">Section 1</h2>
<p data-ref="d1ffba26-9b6f-44f1-9ecb-a695e57e9c8d"> </p>
<p data-ref="9dcc23d9-218b-4dbf-aae3-688d4c32409d"></p>
<p data-ref="55119276-be10-470d-8f0c-db82dce606d3"> a</p>
<p data-ref="2429a7d8-509a-4af6-9bb5-f84b030832c8"></p>
</section>
As you can see when there's more than one
, Paged.js removes all the content (unless there's another character).