macmillanpublishers / htmlmaker_js

Repo for testing and finalizing htmlmaker javascript implementation
0 stars 1 forks source link

minor patch to prevent while loop hang with bad (empty) footnote #71

Closed mattretzer closed 6 years ago

mattretzer commented 6 years ago

@lsquill , please review. A little change to prevent a nasty crash :)

mattretzer commented 6 years ago

It was a footnote with an empty span; for some reason the append cmd couldn't handle it and the loop became endless.