SpacesInMarkups

In (:markup:)s, although lines with leading spaces render correctly, one leading space is lost in the (:markup:) source block. This makes the Whitespace Rules in PmWiki.TextFormattingRules confusing.

Three   spaces   between.

 One leading space.
  Two leading spaces.
   Three leading spaces
    Four leading spaces.[@
12345678901234567890@]

From '''''PmWiki.TextFormattingRules''''':

# First-level item\\
  Whitespace used to continue item on a new line
# Another first-level item
  # Whitespace combined with a single # to create a new item one level deeper.[@
12345678901234567890@]

This is a very long line or a paragraph, it should automatically break in the "code" frame but still possible to copy and paste.

Three spaces between.

 One leading space.
  Two leading spaces.
   Three leading spaces
    Four leading spaces.
12345678901234567890

From PmWiki.TextFormattingRules:

  1. First-level item
    Whitespace used to continue item on a new line
  2. Another first-level item
    1. Whitespace combined with a single # to create a new item one level deeper.
      12345678901234567890

This is a very long line or a paragraph, it should automatically break in the "code" frame but still possible to copy and paste.

Thanks for noticing, should be fixed for 2.2.98. --Petko May 31, 2017, at 05:33 AM

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.21 00.20 MarkupToHTML begin
 3: 00.21 00.20 MarkupToHTML begin
 4: 00.21 00.21 MarkupToHTML end
 5: 00.22 00.21 MarkupToHTML end
 6: 00.22 00.22 MarkupToHTML begin
 7: 00.23 00.22 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 8: 00.23 00.23 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 9: 00.24 00.23 MarkupToHTML end
10: 00.24 00.23 MarkupToHTML begin
11: 00.24 00.24 MarkupToHTML end
12: 00.25 00.24 now
Peak memory: 3,723,160 bytes