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

lukaszlenart pushed a commit to branch test-build
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/test-build by this push:
     new 8f9182489 Reformats xml section
8f9182489 is described below

commit 8f91824893767d690f9bf9e1eb9b0ed6cfd57ed2
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Thu Apr 7 09:02:11 2022 +0200

    Reformats xml section
---
 source/core-developers/using-visitor-field-validator.md | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/source/core-developers/using-visitor-field-validator.md 
b/source/core-developers/using-visitor-field-validator.md
index a167f86d7..77403e1c0 100644
--- a/source/core-developers/using-visitor-field-validator.md
+++ b/source/core-developers/using-visitor-field-validator.md
@@ -56,12 +56,12 @@ Create the `validator.xml`.
 
 ```xml
 <validators>
-       <field name="user">
-               <field-validator type="visitor">
-                       <param name="context">userContext</param>
-                       <param name="appendPrefix">true</param>
-                       <message>User:</message>
-               </field-validator>
-       </field>
+    <field name="user">
+        <field-validator type="visitor">
+            <param name="context">userContext</param>
+            <param name="appendPrefix">true</param>
+            <message>User:</message>
+        </field-validator>
+    </field>
 </validators>
 ```

Reply via email to