summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorville <ville@localhost>2009-10-04 20:20:35 +0000
committerville <ville@localhost>2009-10-04 20:20:35 +0000
commit282b19f8d5ec162f1dabea361049556e4e61b655 (patch)
tree39e428cb080683f1f7fef505be68616b9b734547
parent6f3238580227823ab661c05313aa821f7bf8fe4b (diff)
downloadmarkup-validator-282b19f8d5ec162f1dabea361049556e4e61b655.zip
markup-validator-282b19f8d5ec162f1dabea361049556e4e61b655.tar.gz
markup-validator-282b19f8d5ec162f1dabea361049556e4e61b655.tar.bz2
Include source content type in JSON output.
-rw-r--r--share/templates/en_US/json_output.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/templates/en_US/json_output.tmpl b/share/templates/en_US/json_output.tmpl
index 8e780d9..1bafd7d 100644
--- a/share/templates/en_US/json_output.tmpl
+++ b/share/templates/en_US/json_output.tmpl
@@ -22,6 +22,7 @@ X-W3C-Validator-Warnings: <TMPL_VAR NAME="valid_warnings_num"></TMPL_IF>
</TMPL_LOOP>
],
"source": {
- "encoding": "<TMPL_VAR NAME="file_charset">"
+ "encoding": "<TMPL_VAR NAME="file_charset">",
+ "type": "<TMPL_VAR NAME="file_contenttype">"
}
}