Solved Apparent loss of leading white space

Not yet sure whether this is a bug in XenForo, or related to a custom CODE tag.

The result of pasting to an insert code dialogue:

Code:
   i) one
  ii) two
iii) three
  iv) four
   v) five
  vi) six
vii) seven
viii) eight
  ix) nine
   x) ten

AFAICT: where the true text has one leading white space before a character, that space disappears – it's not visible when a post is previewed, not visible after posting.

(For the example above, the original text was neatly aligned.)
 
Not yet sure whether this is a bug in XenForo, or related to a custom CODE tag.

I suppose this could be one of the bugs in XF fixed in the latest release, which I have applied yesterday.
  • Fix a situation where white space may not be maintained 100% when pasting code/pre-formatted into the rich text editor.
You may try if it's OK now.
 
Pasting within a Code dialogue

This use case is fixed:

Code:
   i) one
  ii) two
 iii) three
  iv) four
   v) five
  vi) six
 vii) seven
viii) eight
  ix) nine
   x) ten

Without a dialogue

Manually typing the markup, then pasting between the marks:
Code:
  i) one
  ii) two
iii) three
  iv) four
   v) five
  vi) six
vii) seven
viii) eight
  ix) nine
   x) ten

This use case was described at https://xenforo.com/community/posts/1096186 (thanks to Snog) with a fix rolled out a few hours ago at XenForo Community, so I guess that FreeBSD Forums will benefit from that additional fix in due course.

Thanks! Also to wblock@ thanks for the interest (the private conversation).
 
Back
Top