From: Michael Simacek <msimacek@redhat.com>
Date: Wed, 1 Feb 2017 13:10:03 +0100
Subject: [PATCH] Allow javascript in javadoc


diff --git a/fop/build.xml b/fop/build.xml
index a4a921e1c..a30d95130 100644
--- a/fop/build.xml
+++ b/fop/build.xml
@@ -1009,6 +1009,7 @@ NOTE:
       overview="${src.java.dir}/org/apache/fop/overview.html"
       maxmemory="256M">
       <arg value="-Xdoclint:none"/>
+      <arg value="--allow-script-in-comments"/>
       <header><![CDATA[${name} ${version}]]></header>
       <footer><![CDATA[${name} ${version}]]></footer>
       <classpath>
