diff --git a/app/aem/api/src/main/java/com/cognifide/apm/api/services/ExecutionResult.java b/app/aem/api/src/main/java/com/cognifide/apm/api/services/ExecutionResult.java index 9bcfa4d0a..5d3d3addc 100644 --- a/app/aem/api/src/main/java/com/cognifide/apm/api/services/ExecutionResult.java +++ b/app/aem/api/src/main/java/com/cognifide/apm/api/services/ExecutionResult.java @@ -42,12 +42,8 @@ interface Entry { List getMessages(); - List getPrettyMessages(); - List getParameters(); - List getPrettyParameters(); - Status getStatus(); } } diff --git a/app/aem/core/src/main/java/com/cognifide/apm/core/logger/ProgressEntry.java b/app/aem/core/src/main/java/com/cognifide/apm/core/logger/ProgressEntry.java index f06dd5e26..e57645d65 100644 --- a/app/aem/core/src/main/java/com/cognifide/apm/core/logger/ProgressEntry.java +++ b/app/aem/core/src/main/java/com/cognifide/apm/core/logger/ProgressEntry.java @@ -26,7 +26,6 @@ import com.google.common.collect.ImmutableList; import java.util.Collections; import java.util.List; -import java.util.stream.Collectors; public class ProgressEntry implements Entry { @@ -71,25 +70,11 @@ public List getMessages() { return messages; } - @Override - public List getPrettyMessages() { - return messages.stream() - .map(message -> message.replaceAll("\n", "
").replaceAll("\t", "    ")) - .collect(Collectors.toList()); - } - @Override public List getParameters() { return parameters; } - @Override - public List getPrettyParameters() { - return parameters.stream() - .map(message -> message.replaceAll("\n", "
").replaceAll("\t", "    ")) - .collect(Collectors.toList()); - } - @Override public Status getStatus() { return status; diff --git a/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/clientlibs/views/summary/css/styles.less b/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/clientlibs/views/summary/css/styles.less index 474c0016d..450c81360 100644 --- a/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/clientlibs/views/summary/css/styles.less +++ b/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/clientlibs/views/summary/css/styles.less @@ -23,4 +23,8 @@ background-color: rgba(221, 52, 52, 0.7); } } -} \ No newline at end of file +} + +li { + white-space: pre-wrap; +} diff --git a/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/reference/reference.html b/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/reference/reference.html index 0a82d82ce..e11a02d9c 100644 --- a/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/reference/reference.html +++ b/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/reference/reference.html @@ -50,7 +50,7 @@

Available commands

${map.description}

Examples - ${example @ context='html'} + ${example}
diff --git a/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/summaryTable/summaryTable.html b/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/summaryTable/summaryTable.html index c514176c0..e9867e5e7 100644 --- a/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/summaryTable/summaryTable.html +++ b/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/summaryTable/summaryTable.html @@ -55,7 +55,7 @@ ${execution.command.toUpperCase}
    -
  • ${text @ context='html'}
  • +
  • ${text}
@@ -63,7 +63,7 @@
    -
  • ${text @ context='html'}
  • +
  • ${text}