- Fixed ritex processing to strip DOCTYPE declarations fed to math2svg as they result in failed parsing.

This commit is contained in:
root 2010-03-21 22:36:08 +02:00
parent ade40e80ba
commit 5ea4c736ed
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ development: &development
content_type: "image/svg+xml"
ritex:
description: "Converts WebTeX expression to MathML, see http://ritex.rubyforge.org/"
command: "(echo '<!DOCTYPE math PUBLIC \"-//W3C//DTD MathML 2.0//EN\" \"http://www.w3.org/Math/DTD/mathml2/mathml2.dtd\">'; /usr/bin/ritex) | xmllint --noent --nonet --catalogs --loaddtd - | /usr/bin/math2svg"
command: "(echo '<!DOCTYPE math PUBLIC \"-//W3C//DTD MathML 2.0//EN\" \"http://www.w3.org/Math/DTD/mathml2/mathml2.dtd\">'; /usr/bin/ritex) | xmllint --noent --nonet --catalogs --loaddtd - | sed 's/^<!DOCTYPE.\\+$//' | /usr/bin/math2svg"
content_type: "image/svg+xml"
# For MathML-compliant browsers and when Redmine is fully XML-compliant.
# ritex: