[pmwiki-users] Link Markup with Classes

DaveG pmwiki at solidgone.com
Mon Mar 7 06:47:13 CST 2016



On 3/7/2016 12:37 AM, Petko Yotov wrote:
> Yes, unfortunately, %apply=link% will apply the styles to all links on
> the same line. You need a line break, for example:
>
>    * %apply=link class="A B"%[[url | A]]%% -
>      %apply=link class="C D"%[[url | B]]%%
Unfortunately this doesn't work well with $HTMLPNewline = '<br />'; enabled.

Is there perhaps some markup to temporarily disable the HTMLPNewLine 
within the markup? Something like:
       * >>ignoreBR<<%apply=link class="A B"%[[url | A]]%% -
         %apply=link class="C D"%[[url | B]]%%

  ~ ~ David



More information about the pmwiki-users mailing list