Uploaded image for project: 'SWORD'
  1. SWORD
  2. API-155

Allow CSS classes for canonical titles, notes, and references in OSIS markup

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.91
    • Fix Version/s: None
    • Component/s: filters
    • Labels:
    • Environment:

      All

      Description

      Providing CSS classes for canonical titles, reference types, and note sub-types allows developers using the osisxhtml filter to significantly improve and customise their text presentation.

      Titles with canonical="true" would convert to HTML tags having class="canonical".

      References would pass any type value to their HTML tag's class attribute.

      Notes would pass any subType value to their HTML tag's class attribute (because a note's type attribute is already used by the filter to create custom HTML markup).

      The same approach could be applied to milestone OSIS elements by passing any type value to the class attribute of an HTML span like this: <span class="my-osis-type"></span>.

        Attachments

          Activity

            People

            • Assignee:
              refdoc Peter von Kaehne
              Reporter:
              johnaustin John Austin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: