<div dir="ltr">Thanks heaps PM,<div>I must admit I only searched for "<:vspace">"</div><div><br></div><div>I do understand the use of <span style="color:rgb(0,0,0);font-size:15px">(</span><code class="escaped" style="font-size:14px;font-family:"Lucida Console","Andale Mono","Courier New",Courier,monospace;max-width:100%;overflow:auto;white-space:pre;display:inline-block;vertical-align:bottom;color:rgb(0,0,0)"><p class='vspace'></p></code><span style="color:rgb(0,0,0);font-size:15px">)</span>,<br>for web page layout.<br><br>What I don't understand is why the Markup function returns the literal "<:vspace>"<span style="color:rgb(0,0,0);font-size:15px"><br></span></div><div>instead of a blank line in the case of the text contained between the directive start and directive end markup</div><div><font color="#4c1130">$markup_pattern = "/\\(:" <br> . 'SimpleRecipeTemplate' . "\s*(?:" . $qpattern . ")\s*:\\)"<br> . "(.*?)"<br> . "\\(:" <br> . 'SimpleRecipeTemplateNameend' . "\s*"<br> . ":\\)/sim";<br>##<br> Markup("SimpleRecipeTemplate",<br> 'fulltext', <br> $markup_pattern, <br> "SimpleRecipeTemplate_Parse" );</font><br></div><div><br></div><div>And how I stop it inserting this unexpected and unwanted literal.</div><div><a href="https://www.pmwiki.org/wiki/PmWiki/CustomMarkup">PmWiki | PmWiki / CustomMarkup</a> is silent on the insertion of <:vspace> into the "match"<br></div><div><br></div><div>thanks again</div><div><br></div><div>Simon</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 5 Jan 2022 at 15:24, Patrick R. Michaud <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">There's a little information on <:vspace> at <a href="https://www.pmwiki.org/wiki/PmWiki/LayoutVariables#HTMLVSpace" rel="noreferrer" target="_blank">https://www.pmwiki.org/wiki/PmWiki/LayoutVariables#HTMLVSpace</a> , including how to disable it.<br>
<br>
A Google search for "pmwiki vspace" will uncover a variety of posts about what <:vspace> is and why it exists.<br>
<br>
Pm<br>
<br>
On Wed, Jan 05, 2022 at 02:56:40PM +1300, Simon wrote:<br>
> I'm writing a recipe to simply show what pasted content looks like in a<br>
> PmWiki page.<br>
> It dumps everything between the start and end of the markup as determined<br>
> by the Markup function in hex and ascii<br>
> e.g.<br>
> <br>
> (:simplerecipetemplate:)<br>
> Multiple lines of<br>
> <br>
> tēxt.(:simplerecipetemplateend:)<br>
> <br>
> 01: | 02: 4d75 6c74 6970 6c65 206c 696e | Multiple·lin 02: 6573 206f 66 |<br>
> es·of 03: 3c3a 7673 7061 6365 3e | <:vspace> 04: 7426 2332 3735 3b78 742e |<br>
> tēxt. 05: |<br>
> What I'd like to know is what is <:vspace> and where does it come from?<br>
> The documentation seems silent on this.<br>
> <br>
> I'd prefer it was not added when there is a blank line?<br>
> <br>
> thanks<br>
> <br>
> Simon<br>
<br>
> _______________________________________________<br>
> pmwiki-devel mailing list<br>
> <a href="mailto:pmwiki-devel@pmichaud.com" target="_blank">pmwiki-devel@pmichaud.com</a><br>
> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-devel" rel="noreferrer" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-devel</a><br>
<br>
</blockquote></div>