Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16089

Extra spaces in HTML attributes for panels

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      In XWIKI-15393 the following was added https://github.com/xwiki/xwiki-platform/commit/80939852851747afbfaea5306e7b775a91525ff3#diff-bc2bc1864e4da7e06875c7e7b6665a11R787 leading to extra spaces (see attachment).

      While this has not visible effect for users, any code manipulating the HTML (such as our functional tests) may fail due to the extra space. For example we have this:

          public boolean hasLeftPanel(String panelTitle)
          {
              return getDriver().hasElementWithoutWaiting(By.xpath(
                  "//div[@id = 'leftPanels']/div/h1[@class = 'xwikipaneltitle' and text() = '" + panelTitle +"']"));
          }
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: