What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

Possible Duplicate:
New “[tag:” syntax interferes with Markdown links

[tag:foo] [a hyperlink][1]

Results in; [a hyperlink]1

Doh

enter image description here

share|improve this question

marked as duplicate by balpha Nov 10 '11 at 16:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Come on Matt, to the Sandbox!! –  Time Traveling Bobby Nov 10 '11 at 16:27

2 Answers 2

up vote 3 down vote accepted

a hyperlink

It works if you use two spaces in between. o.o It has to do with links following the criteria [alt_text] [link_name] (with the space between) as well. It's likely looking at [tag:foo] [a hyperlink] first and saying a hyperlink is not a valid anchor from the list, so not rendering.

It seems that when there is a series of three bracketed pieces of text, it will always connect the first two. For example, [tag:foo] [1] [1] will produce:

tag:foo 1

It looks at [tag:foo] [1] and [1] as separate links. So in the exmaple provided, it's looking at [tag:foo] [a hyperlink] as the first link, which is invalid, and [1] as the second link.

Likely they are calling their function to parse [tag:*] elements after they are calling their function to parse anchors, when it should be called before, or possibly the anchors parser should not match to link names which start with tag:.

share|improve this answer

Hm, interesting bug. In the meantime an inline link seems to work:

[tag:foo] [a hyperlink](http://google.com)

Results in; a hyperlink

Yey!

Unicorn FTW

share|improve this answer
    
Damn you and your lovely pon^H^H^Hunicorns! I was about to say that... –  Time Traveling Bobby Nov 10 '11 at 16:29

Not the answer you're looking for? Browse other questions tagged .