[pmwiki-users] Line breaks in links: Why not allowed?

Patrick R. Michaud pmichaud at pobox.com
Sat Jul 1 08:46:08 CDT 2006


On Sat, Jul 01, 2006 at 07:27:20AM -0500, Tegan Dowling wrote:
> On 7/1/06, Felix E. Klee <felix.klee at inka.de> wrote:
> > Why are line breaks in links not allowed in a page's source?
> > For example
> >   [[A
> >   link]]
> > does not render as a link, while
> >   [[A link]]
> > does.
> 
> Typically, a line-break terminates the kind of markup in which text is
> bracketed with some kind of paired symbols, so this behavior is
> consistent with other PmWiki behavior.  What surprises me is that the
> usual workaround for that general rule doesn't work in this case, i.e.
> this also doesn't work:
> 
> [[A\\
> Link]]

It works with a single backslash -- i.e.,

    [[A \
    link]]

With the double backslash, PmWiki treats the "\\" as an "insert extra 
linebreak" markup which interferes with the pagename.

Pm




More information about the pmwiki-users mailing list