aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/square_brackets_inside_backticks_generates_incorrect_html___40__interpreted_as_wikilinks__41____63__.html
blob: fe20a05b155adc729900bb6626784cacdea4d529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
the following markdown code
`foo \[["bar"]]` generates the following output:

foo <span class="createlink"><a href="http://euler/~dabd/wiki/ikiwiki.cgi?page=__34__bar__34__&amp;from=foo&amp;do=create" rel="nofollow">?</a>&#34;bar&#34;</span>

Perhaps this is a bug in the markdown processor?

<blockquote>
This has nothing to do with markdown; wikilinks and directives
are not part of markdown, and just get expanded to html before
markdown processing.

There is a bug open about this:
[[bugs/wiki_links_still_processed_inside_code_blocks]]

Note that escaping the wikilink with a slash will avoid it being expanded
to html.
--[[Joey]] 
</blockquote>