Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-12-12 22:18:59

jmart
Member
Registered: 2008-08-25
Posts: 68

[textile] link url won't work when wrapped in code?

I was trying to create a hyperlink. It’ll work in textile if it looks like this (get rid of the space after the first quotation mark);

" link":http://www.domain.com

But when wrapped in tags like this, it wont’ work.

<dd>"link":http://www.domain.com</dd>

Anyway around this?

Offline

#2 2008-12-12 23:01:00

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: [textile] link url won't work when wrapped in code?

Enter a space before <dd>:

 <dd>"link":http://www.domain.com </dd>

Note: You also need a space after the URI too.

Last edited by jm (2008-12-12 23:01:47)

Offline

#3 2008-12-13 02:34:03

jmart
Member
Registered: 2008-08-25
Posts: 68

Re: [textile] link url won't work when wrapped in code?

ah, that would explain it. thanks.

as a follow up,it seems that Textile inserts break tags when using a dl, dd, or dt tag. Is there a way to avoid this because there is too much space caused b/w these break tags.

I’ve considered adding a negative top padding to help minimize the space caused by the break tags but it won’t render consistently amongst various browsers.

Last edited by jmart (2008-12-13 02:46:21)

Offline

#4 2008-12-13 17:30:44

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: [textile] link url won't work when wrapped in code?

You need to turn off Textile:

notextile.. <dl>
  <dt>foo</dt>
 <dd><a href="http://example.com">bar</a></dd>
</dl>
p. Returning to *Textile*

Offline

Board footer

Powered by FluxBB