Uploaded image for project: 'Gateway'
  1. Gateway
  2. GTWY-4050

Dataset Metadata can contain html tags that distort our formatting

XMLWordPrintable

    • Icon: Defect Defect
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 2.0.51
    • User Interface
    • None

      If a user inputs html tags (such as <p>) into text fields, the page can render incorrectly. Datasets that come in from EOL appear to be showing this behavior.

      For example, this eol dataset contains a <p> in the database description, which causes an extra line and formatting changes in the listing by PI page:

      /contact/Carin%20J.%20Ashjian/project.html

      /dataset/id/f8465b60-844f-11e3-bcdb-00c0f03d5b7c.html"

      select description from metadata.dataset where id = 'f8465b60-844f-11e3-bcdb-00c0f03d5b7c';

      '<p>This data set contains mesozooplankton abundance from net tows conducted during the Study of the Northern Alaska Coastal System (SNACS) cruises, August - September 2005 and 2006 in the Chukchi and Beaufort Seas, off the coast of Barrow, Alaska. Each data set presents abundances of all taxa, including copepodite stages for the copepods, as # per m-3 and includes station number, date, position (latitude, longitude), and depth for each tow.</p>'

              Unassigned Unassigned
              cgrant Christy Grant
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: