You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by me...@apache.org on 2022/10/11 15:50:23 UTC

[myfaces] branch 2.3-next updated: MYFACES-4475: remove space before closing > (#337)

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

melloware pushed a commit to branch 2.3-next
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/2.3-next by this push:
     new f676ee44f MYFACES-4475: remove space before closing > (#337)
f676ee44f is described below

commit f676ee44f33eb5c426f8b8c8326625b1850c1bab
Author: Paul A. Nicolucci <pn...@gmail.com>
AuthorDate: Tue Oct 11 11:50:18 2022 -0400

    MYFACES-4475: remove space before closing > (#337)
---
 .../org/apache/myfaces/view/facelets/compiler/DoctypeInstruction.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/DoctypeInstruction.java b/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/DoctypeInstruction.java
index 3ff6c8711..5aefc5282 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/DoctypeInstruction.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/DoctypeInstruction.java
@@ -65,7 +65,7 @@ public class DoctypeInstruction implements Instruction
             {
                 sb.append(" SYSTEM \"").append(systemId).append('"');
             }
-            sb.append(" >\n");
+            sb.append(">\n");
         }
         context.getResponseWriter().writeDoctype(sb.toString());
     }