[pmwiki-users] Prevent line break, anchors, ...
Patrick R. Michaud
pmichaud at pobox.com
Fri Sep 23 11:12:04 CDT 2005
On Fri, Sep 23, 2005 at 10:24:32AM +1200, John Rankin wrote:
> - create a new markup for nobreak, such as '[(@@...@@)]' with the following
> code (ie '[ ... ]' wraps text in <nobr> tags -- there may be a better
> choice of markup)
>
> Markup("'[",'inline', "/'\[(.*?)\]'/",'<nobr>$1</nobr>');
It can also be done with CSS; i.e., set:
.nobr { white-space:nowrap; }
in a stylesheet somewhere, and then use
%nobr% ... %%
for non-breaking text.
Pm
More information about the pmwiki-users
mailing list