Referring to a local DTD in Jira

Jira software refer to this file: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
How to change it to refer local DTD file?

I think the only way to do this for Jira Server is to adjust the velocity templates in the WEB-INF folder of the deployment in Tomcat. But that means that you will have to adjust this manually after each update of Jira as these files will be overwritten by the installer.

Is there a specific reason you want to adjust the DTD file?

Thank you. I want to do it. Can you provide detailed instruction for it?

We got 401 error on pages with activity gadget: 401 - Unauthorized: Access is denied due to invalid credentials.

I don’t have any detailed instructions for all files (velocity & JSP) that include the DTD, but you can use the instructions on this page as a guideline: Customizing email content | Administering Jira applications Data Center and Server 8.1 | Atlassian Documentation

Thank you very much. I will try it. :grinning: