Commits

Shlomi Fish committed c03d646

Wrapping <firstname> and <lastname> in a <personname>

This fixes a validation problem.

Comments (0)

Files changed (1)

 # To ensure valid articleinfo/bookinfo when there is no AsciiDoc header.
     {doctitle%}{revdate%}<date>{docdate}</date>
     {authored#}<author>
-        <firstname>{firstname}</firstname>
-        <othername>{middlename}</othername>
-        <surname>{lastname}</surname>
+        <personname>
+            <firstname>{firstname}</firstname>
+            <othername>{middlename}</othername>
+            <surname>{lastname}</surname>
+        </personname>
         <email>{email}</email>
     {authored#}</author>
     <authorinitials>{authorinitials}</authorinitials>