Some content missing from Textual Notes section

Issue #3 resolved
Craig Berry created an issue

The textual notes at the end of the SHC documents are not displaying correctly, and indeed three things have gone missing, or to be more precise, three classes have had their content stripped in the generated HTML:

<h1 class="tei-head5”/> <p class="tei-p”/> <span class="tei-seg”/>

but other nearby content is left untouched. It worked correctly at the old site before the annotation module was added. The missing content seems to show up in an ePub export, so there appears to be something about the conversion of XML to HTML that does this.

Comments (2)

  1. Craig Berry reporter

    Resolved by:

    commit 32fd6000815b3e54ca5244ea058dc378532e474c (HEAD -> master)
    Author: Craig A. Berry <craigberry@mac.com>
    Date:   Sun Nov 12 21:39:59 2017 -0600
    
        Fix display of elements with whitespace in content.
    
        Notably this was causing <seg> elements within textual notes to
        have their content dropped.
    
        The bug was introduced in 89b8a7b0d54848f69.
    
        This addresses issue #3.
    
  2. Log in to comment