Specification document is not html

merge-requests/30/head
Bob Mottram 2022-06-28 10:07:22 +01:00
parent 0331311dd0
commit c5cec065b7
1 changed files with 7 additions and 9 deletions

View File

@ -4864,8 +4864,6 @@ class PubServer(BaseHTTPRequestHandler):
if fields.get('editedSpecification'):
specification_str = fields['editedSpecification']
if not dangerous_markup(specification_str,
allow_local_network_access):
try:
with open(specification_filename, 'w+',
encoding='utf-8') as specificationfile: