IncludeFromSelfPage2

Test.GroupHeader self=0 basepage=Test.IncludeFromSelfPage2

Also see IncludeFromSelfPage.

Shows odd problem when start and end anchor are on same line

Testing to use {$Name}.

(:include {$Name}#desc#desc-end:)

This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]] (:markupend:)


One more test, to check if the problem isn't because of (:markup:) usage: (start) IncludeFromSelfPage2#desc#desc-end (end)

 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)
 (end)

Now I try the directive.

(:include IncludeFromSelfPage2#desc#desc-end:)

IncludeFromSelfPage2#desc#desc-end

Testing to use {$Name}.

(:include {$Name}#desc#desc-end:)

IncludeFromSelfPage2#desc#desc-end


Below is the paragraph that will be extracted.

[[#desc]]This is a paragraph starting with the label [@desc@] and ending with the paragraph [@desc-end@]. [[#desc-end]]

%comment% [=
[[#a]] Some text... [[#b]]
=]

This is a paragraph starting with the label desc and ending with the paragraph desc-end.

[[#a]] Some text... [[#b]]


One more test, to check if the problem isn't because of (:markup:) usage: (start) IncludeFromSelfPage2#desc#desc-end (end) Test.GroupFooter self=0 basepage=Test.IncludeFromSelfPage2

Array
(
    [post_max_size] => 64M
    [$_POST keys] => 
    [$_REQUEST keys] => n
    [$_SERVER] => Array
        (
            [CONTEXT_DOCUMENT_ROOT] => /home/pmwiki/public_html
            [CONTEXT_PREFIX] => 
            [DOCUMENT_ROOT] => /home/pmwiki/public_html
            [GATEWAY_INTERFACE] => CGI/1.1
            [HTTPS] => on
            [HTTP_ACCEPT] => */*
            [HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
            [HTTP_HOST] => www.pmwiki.org
            [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
            [HTTP_X_HTTPS] => 1
            [PATH] => /bin:/usr/bin
            [PHP_INI_SCAN_DIR] => /opt/cpanel/ea-php70/root/etc:/opt/cpanel/ea-php70/root/etc/php.d:.
            [QUERY_STRING] => n=Test%2fIncludeFromSelfPage2
            [REDIRECT_HTTPS] => on
            [REDIRECT_QUERY_STRING] => n=Test%2fIncludeFromSelfPage2
            [REDIRECT_SCRIPT_URI] => https://www.pmwiki.org/wiki/Test/IncludeFromSelfPage2
            [REDIRECT_SCRIPT_URL] => /wiki/Test/IncludeFromSelfPage2
            [REDIRECT_SSL_TLS_SNI] => www.pmwiki.org
            [REDIRECT_STATUS] => 200
            [REDIRECT_UNIQUE_ID] => afJLbkZ58cDWEPCKBMxd5AAAAUM
            [REDIRECT_URL] => /wiki/Test/IncludeFromSelfPage2
            [REMOTE_ADDR] => 216.73.216.31
            [REMOTE_PORT] => 39345
            [REQUEST_METHOD] => GET
            [REQUEST_SCHEME] => https
            [REQUEST_URI] => /wiki/Test/IncludeFromSelfPage2
            [SCRIPT_FILENAME] => /home/pmwiki/public_html/index.php
            [SCRIPT_NAME] => /index.php
            [SCRIPT_URI] => https://www.pmwiki.org/wiki/Test/IncludeFromSelfPage2
            [SCRIPT_URL] => /wiki/Test/IncludeFromSelfPage2
            [SERVER_ADDR] => 23.254.203.248
            [SERVER_ADMIN] => webmaster@pmwiki.org
            [SERVER_NAME] => www.pmwiki.org
            [SERVER_PORT] => 443
            [SERVER_PROTOCOL] => HTTP/1.1
            [SERVER_SIGNATURE] => 
            [SERVER_SOFTWARE] => Apache
            [SSL_TLS_SNI] => www.pmwiki.org
            [TZ] => America/Los_Angeles
            [UNIQUE_ID] => afJLbkZ58cDWEPCKBMxd5AAAAUM
            [PHP_SELF] => /index.php
            [REQUEST_TIME_FLOAT] => 1777486702.2773
            [REQUEST_TIME] => 1777486702
            [argv] => Array
                (
                    [0] => n=Test%2fIncludeFromSelfPage2
                )

            [argc] => 1
        )

)
 0: 00.00 00.00 EnablePost = 1, keys=
 1: 00.00 00.00 config start
 2: 00.02 00.01 config end
 3: 00.04 00.03 MarkupToHTML begin
 4: 00.04 00.03 MarkupToHTML begin
 5: 00.15 00.13 MarkupToHTML end
 6: 00.15 00.13 MarkupToHTML begin
 7: 00.15 00.13 MarkupToHTML end
 8: 00.15 00.13 MarkupToHTML begin
 9: 00.15 00.13 MarkupToHTML end
10: 00.15 00.13 MarkupToHTML begin
11: 00.15 00.13 MarkupToHTML end
12: 00.16 00.14 MarkupToHTML end
13: 00.16 00.14 MarkupToHTML begin
14: 00.16 00.15 MarkupToHTML end
15: 00.16 00.15 MarkupToHTML begin
16: 00.17 00.15 MarkupToHTML end
17: 00.17 00.16 now
Peak memory: 3,319,944 bytes