[ofbiz-framework] branch trunk updated: Improved: Apply multi-block attr to each application (OFBIZ-11706)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Improved: Apply multi-block attr to each application (OFBIZ-11706)

James Yong-2
This is an automated email from the ASF dual-hosted git repository.

jamesyong pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 47e6b9c  Improved: Apply multi-block attr to each application (OFBIZ-11706)
47e6b9c is described below

commit 47e6b9cad6cf191411f6bb9154ba1509c7f4c6e5
Author: James Yong <[hidden email]>
AuthorDate: Sat May 16 17:51:34 2020 +0800

    Improved: Apply multi-block attr to each application (OFBIZ-11706)
   
    Fix regresssion
---
 .../widget/src/main/java/org/apache/ofbiz/widget/model/HtmlWidget.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/widget/src/main/java/org/apache/ofbiz/widget/model/HtmlWidget.java b/framework/widget/src/main/java/org/apache/ofbiz/widget/model/HtmlWidget.java
index 6f463c4..9acdbf2 100644
--- a/framework/widget/src/main/java/org/apache/ofbiz/widget/model/HtmlWidget.java
+++ b/framework/widget/src/main/java/org/apache/ofbiz/widget/model/HtmlWidget.java
@@ -254,7 +254,7 @@ public class HtmlWidget extends ModelScreenWidget {
                 writer.append(externalScripts);
 
                 // the 'template' block
-                String body = doc.body().toString();
+                String body = doc.body().html();
                 writer.append(body);
             } else {
                 renderHtmlTemplate(writer, this.locationExdr, context);