Uploaded image for project: 'Module Tools'
  1. Module Tools
  2. MODTOOLS-62

osis2mod generates <div type="paragraph"> for <p> and has none of the desired effects (as of 1.7.2)

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      It would appear that </p> after </verse> generates <div eID="gen3" type="paragraph"/>

      And <p> before <verse> generates <div type="x-milestone" subType="x-preverse" sID="pv1"/><div sID="gen6" type="paragraph"/> <div type="x-milestone" subType="x-preverse" eID="pv1"/>.

      I can see the logic here, but the result in 1.7.2 front-ends is to simply generate a bunch of extra space after the verse number (not before). And the semantics of <div type="paragraph"> should not be confused with those of <p>. A paragraph <div> is a division type (like a section, chapter, or subSection), not an orthographic paragraph (<p>). What's more, paragraph <div>s are used in few modules, so this mis-use creates a collision with existing correct usage that we have released into the wild.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chrislit Chris Little
                Reporter:
                chrislit Chris Little
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: