| ... |
... |
@@ -17,13 +17,8 @@ |
| 17 |
17 |
#set($effect = "slideToggle") |
| 18 |
18 |
#end |
| 19 |
19 |
#set($effectduration = $mathtool.mul(1000,$mparams.effectduration)) |
|
20 |
+#set($title = $escapetool.xml($mparams.title)) |
| 20 |
20 |
|
| 21 |
|
-## Titel vorbereiten als Wiki-Syntax und gerendert |
| 22 |
|
-#set($rawTitle = $mparams.title) |
| 23 |
|
-#if($rawTitle && $rawTitle != "") |
| 24 |
|
- #set($wikiSyntaxTitle = = $rawTitle =) |
| 25 |
|
-#end |
| 26 |
|
- |
| 27 |
27 |
{{html clean=false}} |
| 28 |
28 |
<div class="showhide-header" |
| 29 |
29 |
#if($id && $id!="") id="showhideheader${id}" #end |
| ... |
... |
@@ -30,9 +30,7 @@ |
| 30 |
30 |
data-show-duration="$effectduration" |
| 31 |
31 |
data-show-effect="$effect"> |
| 32 |
32 |
<div class="showhide-header-flex"> |
| 33 |
|
- <div class="showhide-title"> |
| 34 |
|
- #evaluate($wikiSyntaxTitle) |
| 35 |
|
- </div> |
|
28 |
+ <div class="showhide-title">$title</div> |
| 36 |
36 |
<div class="showhide-arrow">▶</div> ## Unicode ▶ |
| 37 |
37 |
</div> |
| 38 |
38 |
</div> |
| ... |
... |
@@ -40,9 +40,11 @@ |
| 40 |
40 |
|
| 41 |
41 |
(% class="showhidecontent" #if($id && $id!="")id="showhidecontent${id}" #end#if($xcontext.action != 'edit') style="display: none;"#end %) |
| 42 |
42 |
((( |
| 43 |
|
-((( |
|
36 |
+{{wiki}} |
|
37 |
+{{code language="bash"}} |
| 44 |
44 |
{{wikimacrocontent /}} |
| 45 |
|
-))) |
|
39 |
+{{/code}} |
|
40 |
+{{/wiki}} |
| 46 |
46 |
))) |
| 47 |
47 |
{{/velocity}} |
| 48 |
48 |
|