File: smileys_do_not_work_in_PreprocessorDirective_arguments.mdwn

package info (click to toggle)
ikiwiki 3.20190228-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 20,904 kB
  • sloc: perl: 31,100; python: 428; sh: 185; makefile: 120
file content (18 lines) | stat: -rw-r--r-- 659 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Several [[ikiwiki/Directive]]s take ikiwiki-formatted text as arguments,
such as the `then` and `else` arguments of the new `if` directive, or the
`desc` argument of the `shortcut` directive.  However, smileys do not work in
these arguments.

Since the arguments to [[ikiwiki/Directive]]s might use the same syntax as
smileys for a different meaning, smiley substitution should not happen until
after [[ikiwiki/Directive]]s.

--[[JoshTriplett]]

> Sorry, I should have filed this under [[bugs]], not [[todo]].
>
> Also, for an example of this issue, consider the sample conditional on [[plugins/conditional]].
>
> --[[JoshTriplett]]

[[todo/done]] --[[Joey]]