Community
Participate
Working Groups
When html "<i>italic</i><b><i>bolditalic</i></b>" is converted to Confluence a space is added between the bold and italic delimeters to get "_italic_ * _bolditalic_*". The spaces are being introduced because ConfluenceDocumentBuilder.computeSpan() assumes requireAdjacentWhitespace = true for both BOLD and ITALIC types. The way that the code currently inserts those spaces seems to behave badly when ITALIC is nested within BOLD because a space is introduced in between both start prefixes ('*' and '_').
New Gerrit change created: https://git.eclipse.org/r/52517
Review with tests showing the issue: https://git.eclipse.org/r/52517
Gerrit change https://git.eclipse.org/r/52517 was merged to [master]. Commit: http://git.eclipse.org/c/mylyn/org.eclipse.mylyn.docs.git/commit/?id=00b8f6fd84e1982f58bbf3621a9dbe74b499ed88
Thanks for the contribution James.