jemdoc icon indicating copy to clipboard operation
jemdoc copied to clipboard

Bug in doincludes function

Open amirtadayon opened this issue 6 years ago • 0 comments

Let's say we want to jemdoc the file, bug.jemdoc, which contains an instance of includeraw. There is no whitespace / newline after the #includeraw{patent.html}. When jemdocing this file, an error is raised saying that there is not patent.html file. A quick fix can be found in PR here

bug.jemdoc file

# jemdoc: {bug.html}
= Bug reproduce in doincludes \n

== Patent
#includeraw{patent.html}

No newline/whitespace at the end of file.

patent.html

<ol reversed class="biblist">
<li ><p>
J. P. Wilkinson,&ldquo;
Nonlinear resonant circuit devices,&rdquo;
U.S.
Patent 3 624 125,
July,
16,
1990.
</li>
</ol>

amirtadayon avatar Dec 23 '19 20:12 amirtadayon