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.00 00.00 config end
 2: 00.03 00.02 MarkupToHTML begin
 3: 00.03 00.03 MarkupToHTML begin
 4: 00.04 00.03 MarkupToHTML end
 5: 00.04 00.04 MarkupToHTML end
 6: 00.04 00.04 MarkupToHTML begin
 7: 00.05 00.05 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 8: 00.05 00.05 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 9: 00.06 00.06 MarkupToHTML end
10: 00.06 00.06 MarkupToHTML begin
11: 00.06 00.06 MarkupToHTML end
12: 00.07 00.06 now
Peak memory: 3,147,184 bytes