Skip annotation and annotation-xml elements so that they won't be processed by the TeX/AsciiMath input (even when the MathML input is disabled). #484

This commit is contained in:
Frédéric Wang 2013-08-27 09:46:56 +02:00
parent 441cd0ff7d
commit 993fa899f6
3 changed files with 4 additions and 4 deletions

View File

@ -292,7 +292,7 @@ MathJax.Hub.Config({
// as listed below). You can add to (or remove from) this list to prevent // as listed below). You can add to (or remove from) this list to prevent
// MathJax from processing mathematics in specific contexts. // MathJax from processing mathematics in specific contexts.
// //
skipTags: ["script","noscript","style","textarea","pre","code"], skipTags: ["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],
// //
// This is the class name used to mark elements whose contents should // This is the class name used to mark elements whose contents should
@ -379,7 +379,7 @@ MathJax.Hub.Config({
// as listed below). You can add to (or remove from) this list to prevent // as listed below). You can add to (or remove from) this list to prevent
// MathJax from processing mathematics in specific contexts. // MathJax from processing mathematics in specific contexts.
// //
skipTags: ["script","noscript","style","textarea","pre","code"], skipTags: ["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],
// //
// This is the class name used to mark elements whose contents should // This is the class name used to mark elements whose contents should

View File

@ -34,7 +34,7 @@ MathJax.Extension.asciimath2jax = {
config: { config: {
delimiters: [['`','`']], // The star/stop delimiter pairs for asciimath code delimiters: [['`','`']], // The star/stop delimiter pairs for asciimath code
skipTags: ["script","noscript","style","textarea","pre","code"], skipTags: ["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],
// The names of the tags whose contents will not be // The names of the tags whose contents will not be
// scanned for math delimiters // scanned for math delimiters

View File

@ -43,7 +43,7 @@ MathJax.Extension.tex2jax = {
// balanced within math delimiters (allows for nested // balanced within math delimiters (allows for nested
// dollar signs). Set to false to get pre-v2.0 compatibility. // dollar signs). Set to false to get pre-v2.0 compatibility.
skipTags: ["script","noscript","style","textarea","pre","code"], skipTags: ["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],
// The names of the tags whose contents will not be // The names of the tags whose contents will not be
// scanned for math delimiters // scanned for math delimiters