Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1819

Images embedded using base64 data URI slow down the HTML diff computation

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 11.10.1, 12.0-rc-1
    • 11.10
    • Diff
    • None
    • Integration
    • High
    • Medium

    Description

      The issue is that the diff is computed at character level and the base64 data URI leads to a very large patch. We don't need that level of detail for HTML attributes, like we need for text nodes, because attribute value changes are not marked independently visually. We mark the entire element as modified. Se we need to treat text nodes and attribute nodes differently.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: