summaryrefslogtreecommitdiff
path: root/doc/todo/smileys_do_not_work_in_PreprocessorDirective_arguments.mdwn
blob: 06c06e19110f3f79c3f5c402d6483c76d267a2b0 (plain)

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]]