Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2685

Bad rendering of deposit license due to missing CSS classes

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Complete or Committed

      Description

      The deposit license is loaded into a SimpleHTMLFragment, which permits the use of some HTML elements in its content by converting them to WING elements (which will be converted back by the theme).

      The dri2xhtml and dri2xhtml-alt transform groups render the resulting DRI elements to XHTML as "<ol class='ds-ordered-list'>", but this class is not defined anywhere in the CSS stylesheets. For some reason the default styling of <ol> strips away most of what makes it look like a list, resulting in list items being rendered as plain paragraphs without intervening vertical whitespace, which makes the list very hard to read.

      The normal styling of ordered list elements should be restored for these usages by defining ds-ordered-list appropriately.

        Attachments

          Activity

            People

            Assignee:
            mwood Mark H. Wood
            Reporter:
            mwood Mark H. Wood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: