Pull up fix for CONNECTORS-1422 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/release-2.7-branch@1794122 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES.txt b/CHANGES.txt
index d6f4a21..3ec8500 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,6 +6,9 @@
 CONNECTORS-1423: Fix the new UI to add certificates to connections with certificate stores.
 (Karl Wright, Kishore Kumar)
 
+CONNECTORS-1422: Fix an HTML problem in SharePoint metadata UI.
+(David Hotchkiss)
+
 ======================= Release 2.7 =====================
 
 CONNECTORS-1411: Fix attachment URL template reset bug.
diff --git a/connectors/sharepoint/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/sharepoint/editSpecification_Metadata.html b/connectors/sharepoint/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/sharepoint/editSpecification_Metadata.html
index ad92dd9..aa72095 100644
--- a/connectors/sharepoint/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/sharepoint/editSpecification_Metadata.html
+++ b/connectors/sharepoint/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/sharepoint/editSpecification_Metadata.html
@@ -149,7 +149,7 @@
             <nobr>
               <select name="s${SeqNum}_metafields" multiple="true" size="5">
     #foreach($field in $METAFIELDLIST)
-                <option value="$Encoder.attributeEscape($field.getValue())"/>$Encoder.bodyEscape($field.getPrettyName())</option>
+                <option value="$Encoder.attributeEscape($field.getValue())">$Encoder.bodyEscape($field.getPrettyName())</option>
     #end
               </select>
             </nobr>