Project

General

Profile

Bug #2714

Notes with encapsulated HTML don't render correctly

Added by Luke Murphey about 4 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/04/2020
Due date:
% Done:

0%


Description

See the preface note for Antiquities of the Jews. It appears like this:

PrefaceThis preface of Josephus is excellent in its kind, and highly worthy the repeated perusal of the reader, before he set about the perusal of the work itself.

This could be improved by putting each text chunk from separate HTML nodes on a new line.

History

#1 Updated by Luke Murphey about 4 years ago

  • Priority changed from Normal to Urgent

#2 Updated by Luke Murphey about 4 years ago

  • Status changed from New to In Progress
  • Priority changed from Urgent to Normal

#4 Updated by Luke Murphey about 4 years ago

The notes now extract into multiple lines. However, the line sometimes broken when they shouldn't be (like with spans).

Qs: *

Obs: *

Solns:
  • Attach note type (span, etc.)
    • I could attach the ID too if I wanted
  • I could combine lines it they are for spans and separate if they are divs
  • I could process the HTML into some sort of structure
  • Re-import the work such that the importer doesn't overlap the notes
  • I could have this extract two icons instead
    • The following CSS is hiding it:
      <span class="label note hide" id="content_for_2101a2ea">Preface<i class="icon-info-sign icon-white note-tag" id="95194d2d"></i>
      <span class="label note hide" id="content_for_95194d2d">This
      preface of Josephus is excellent in its kind, and highly worthy the
      repeated perusal of the reader, before he set about the perusal of the
      work itself.</span>
      </span>
      
    • I would need to have this only grab the text from topmost node, not the containing nodes

#5 Updated by Luke Murphey about 4 years ago

  • Status changed from In Progress to New
  • Target version changed from 4.0 to Plus_2

#6 Updated by Luke Murphey about 4 years ago

  • Target version changed from Plus_2 to Plus_1

#7 Updated by Luke Murphey about 4 years ago

  • Target version deleted (Plus_1)

Also available in: Atom PDF