[pmwiki-users] Link Markup with Classes
Petko Yotov
5ko at 5ko.fr
Mon Mar 7 07:00:08 CST 2016
On 2016-03-07 13:47, DaveG wrote:
> 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]]%%
Yes: (:nolinebreaks:).
Petko
---
Change log : http://www.pmwiki.org/wiki/PmWiki/ChangeLog
Release notes : http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
If you upgrade : http://www.pmwiki.org/wiki/PmWiki/Upgrades
More information about the pmwiki-users
mailing list