scholarslab / new-salem-pelican

New Salem running on Pelican
1 stars 3 forks source link

Salem document title display change broke the search #40

Closed shane-et-al closed 6 years ago

shane-et-al commented 6 years ago

The corpus generation script I wrote is really fragile and the document title display change (nXXX.Y to SWP No. XXX.Y) broke it. I fixed it to key on the wrapper div, which is also more durable, but it's still not great. This is one way that a markdown editor can invisibly break the search for a particular document. The search will actually still function, but it'll be by case rather than by document and will have a nasty negative interaction with our hide-all-the-other-documents-in-a-case hack.

shane-et-al commented 6 years ago

Fixed 16f92f4c3e35cdd88d532b61e25b4a302b5d45f0