Xbox-Linux:Sandbox

From Xbox-Linux

Welcome to the Xbox-Linux Project. Many of the guides on this website are conflicting, but if you're smart enough, you'll have your xbox modded in no time. :-)

Testing links in templates

1. A regular URL with a plain equal sign

Click here (http://sourceforge.net/mailarchive/message.php?msg_id=3570719)
This one works as it should.

2. The same URL, passed to a template (trying to use a plain equal sign, which of course doesn't work)

Missing image
Icon-admonition-tip.png
Tip

{{{1}}}

3. Again, the same URL, passed to a template, with an equal sign that is escaped with "%3D"

Missing image
Icon-admonition-tip.png
Tip

Click here (http://sourceforge.net/mailarchive/message.php?msg_id%3D3570719)

This one should work, but doesn't!

4. And here we go again; the URL is passed to a template, with an equal sign that is escaped with "="

Missing image
Icon-admonition-tip.png
Tip

Click here (http://sourceforge.net/mailarchive/message.php?msg_id=3570719)

This one shouldn't work (and doesn't) – but I'm trying anyway, because I'm getting desperate!

Workaround, part 1

Only the first "=" sign has a special meaning. If we explicitly mark up the parameter name (which is "1") and the equal sign, any other equal signs occurring after that point will pass through just fine, and the link will work with a plain "=" character:

Missing image
Icon-admonition-tip.png
Tip

Click here (http://sourceforge.net/mailarchive/message.php?msg_id=3570719)

However, there's a drawback. Let's try the same with two paragraphs:

Missing image
Icon-admonition-tip.png
Tip

This is the first paragraph: Click here (http://sourceforge.net/mailarchive/message.php?msg_id=3570719) This is the second paragraph.

As you can see above, both paragraphs collapsed together! Curiously, if there are three or more paragraphs, this doesn't happen:

Missing image
Icon-admonition-tip.png
Tip

This is the first paragraph: Click here (http://sourceforge.net/mailarchive/message.php?msg_id=3570719)

This is the second paragraph.

This is the third paragraph.

Workaround, part 2

Mark up your paragraphs explicitly with the HTML paragraph markup.

Missing image
Icon-admonition-tip.png
Tip

This is the first paragraph: Click here (http://sourceforge.net/mailarchive/message.php?msg_id=3570719)

This is the second paragraph.

--test--