Details
-
Bug
-
Resolution: Fixed
-
Minor
-
10.6-rc-1
-
None
-
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
- is related to
-
XWIKI-15393 Cannot style specific Panels because of limited HTML class attribute generated
- Closed