Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
4.2.2
Description
Steps to reproduce:
- Go to Browse > Confluence admin > User Macro
- Create a User Macro
- On the template field, add the following code:
## Macro title: My Macro ## Macro has a body: Y or N ## Body processing: Selected body processing option ## Output: Selected output option ## ## Developed by: My Name ## Date created: dd/mm/yyyy ## Installed by: My Name ## This is an example macro ## @param Name:title=Name|type=string|required=true|desc=Your name ## @param Colour:title=Favourite #set ($helper = $action.helper) <div style="padding:10px;border:1px #114411 solid;background;background:#FFF0DF;"><p style="margin-top:0;"><strong>GOOGLE</strong><br /> View Online: <a href="http://google.com/x/$helper.tinyUrl">http://google.com/x/$helper.tinyUrl</a></p>$body</div>
- Save it
- Now in a new page, type {name_macro, that should auto-populate.
- Save it, then go to Tools > Export to PDF
- You should get this string in the PDF: http://google.com/x/$helper.tinyUrl
Workaround:
You can do that manually, avoiding the User Macro.