This is a topic in Writeboard

Footnotes broken

 
Avatar alxwz 62 posts

After the last post in the product blog, I played with footnotes one more time.
But they still seem broken.
Everything after the ID of the first footnote (<a id="fn1" />) acts like a link, although it shouldn’t AFAIK.

 
Avatar Derick 133 posts

I think this is a spacing issue—I created a writeboard by typing the following:

here's a test[1]

fn1. this is the test itself.

and it worked just fine.

However, if the whitespace is changed just a bit, to this:

here's a test [1]

fn1.this is the test itself.

or if there is no blank line prior to the line beginning fn1. , it doesn’t work.

Textile seems to be very touchy about whitespace.

 
Avatar Derick 133 posts

Note that this is done entirely w/textile, no need to manually enter the html anchor tag—putting a line like this

fn2. here's another note

automatically creates the following text as an active link with fn2 as its id:

2 here’s another note

(the anchor tag won’t show up if you view source in the forums, but it works in BP pages and on writeboards)

Signup or login to post a reply.