We've set up a macro to pre-format the code block macro to cpp. The problem is in our macro,
printf
(
"Drive OEM is %s"
,oem_name);
is appearing as
printf
("Drive OEM is %s",oem_name);
The macro is:
## @param Title:title=Title|type=string|desc=Title <ac:macro ac:name="code"> <ac:parameter ac:name="language">cpp</ac:parameter> <ac:macro ac:name="code"><ac:parameter ac:name="title">$!paramTitle</ac:parameter> <ac:parameter ac:name="language">cpp</ac:parameter> <ac:parameter ac:name="atlassian-macro-output-type">BLOCK</ac:parameter> <ac:plain-text-body><![CDATA[$body]]></ac:plain-text-body> </ac:macro>
And set to Escaped.
Confluence 4.1.5
Help!
What confluence did is the " signs has been escaped and converted to html entity. Try turning escape off. maybe macro from yor example has a parameter not to escape html chars.
have you solved it?
I properly run now in the same problem, see my comments in Can I create macros within an HTML macro?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.