Issue Details (XML | Word | Printable)

Key: VISIB-51
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Rick Sjogren
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Confluence Extension: Visibility Plugin

{toggle-cloak} macro renders HTML as wiki text within a {show-if} macro

Created: 11/Aug/08 03:05 AM   Updated: 11/Aug/08 03:04 PM
Component/s: {show-if}
Affects Version/s: 1.7.0
Fix Version/s: 1.7.0

Time Tracking:
Not Specified

Environment: Confluence 2.7.1, IE7.


 Description  « Hide
If you enter the following macro text (into a template or a new page), you will find that the HTML is rendered as wki text rather than wiki text.

<<<<< Macro text >>>>>

{composition-setup}

Definition{show-if:action=view}   {toggle-cloak:id=HelpRMDefinition}
{cloak:id=HelpRMDefinition}
{tip:icon=false} Help for Definition.

The definition that you enter below is what will be shown on reports and tables within the Reference Model and any views that refer to it.

It is best that you keep your definition reasonably succinct and place the extra details in the Extra Information field below.{tip}{cloak}{show-if}

<<<<< Macro text >>>>>

The rendered text is shown below:

<<<<< Rendered text >>>>>
Definition <span id='tgl_content_HelpRMDefinition' class='cloakToggle'></span>
<span id='content_HelpRMDefinition' class='cloak' style='display: none'>
<div class='panelMacro'><table class='tipMacro'><tr><td><img class="emoticon" src="/confluence/images/icons/emoticons/help_16.gif" height="16" width="16" align="absmiddle" alt="" border="0"/> Help for Definition. <br clear="all" /> <br clear="all" />
The definition that you enter below is what will be shown on reports and tables within the Reference Model and any views that refer to it.
<br clear="all" /> <br clear="all" />
It is best that you keep your definition reasonably succinct and place the extra details in the <em>Extra Information</em> field below.</td></tr></table></div>
</span>
<<<<< Rendered text >>>>>

If you remove the {show-if} macro, the wiki text is rendered correctly.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Peterson added a comment - 11/Aug/08 03:04 PM
As confirmed by Rickh, this was actually a bug in 1.6, resolved in 1.7.