Uploaded image for project: 'Forrest (Retired)'
  1. Forrest (Retired)
  2. FOR-772

INvalid HTML as source causes unexpected behaviour

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 0.7
    • 0.8
    • Core operations
    • None
    • Urgent

    Description

      Reported via user list:

      Using HTML as a source:

      > I manage to cut out one '>' too much. The page still manages to render. There
      > is no error message, and...I'll be damned...the entire title line is gone,
      > even when I "view source".


      I guess this is a problem of using HTML as the source and would not occur if you were using XDoc.

      We use JTidy to preprocess the HTML (we must have valid XML to work with). I guess JTidy is just removing the invalid content. Can we configure JTidy to fail if such an error exists.

      Does such an error get spotted during the validation stage of a "forrest site" command (execute directly with "forrest validate")

      Attachments

        Activity

          People

            Unassigned Unassigned
            lsimons Leo Simons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: