HTML - Used in other macros to detect if a parameter is zero
General
| Spaces Where Used | all SWEHB spaces |
|---|---|
| How used | in other macros to detect if a parameter is zero |
| Visibility | only Sys Admins in the Macro Browser |
| Title | refstable-topic |
| Description | |
| Categories | |
| Icon URL | |
| Documentation URL | |
| Definition | Rendered |
| Output Format | |
| Status | Active in all spaces |
Used in the "refstable" collection of macros.
Rendering
None.
Current Code
#set($xhtml=$body) #if($xhtml.startsWith("<p>",0) && $xhtml.endsWith("</p>")) #set($len=$xhtml.length()-$generalUtil.convertToInteger(4)) #set($xhtml=$xhtml.substring(3,$len)) #end #if($param0=="0") ${xhtml} #end


