diff --git a/main.py b/main.py index 0bb2d00..6d2ed42 100644 --- a/main.py +++ b/main.py @@ -55,6 +55,9 @@ def process(): if "unsafe" in request.form: args.append("-u") + if "experimental" in request.form: + args.append("-e") + # run subprocess and capture output as UTF-8 so we get a string instead of # bytes for ansi2html results = subprocess.run( diff --git a/templates/index.html b/templates/index.html index a33ea6b..f2f6bd7 100644 --- a/templates/index.html +++ b/templates/index.html @@ -12,7 +12,7 @@ -

Options

+

Basic options:

@@ -20,6 +20,14 @@
This will remove newlines and perform normalization of Unicode characters. Read more about these unsafe fixes.
+

Experimental options

+ +
+ + +
Attempt to validate whether the value of an item's dc.language.iso or dcterms.language field matches the actual language of text used in its title, abstract, and citation. Read more about these experimental checks.
+
+