Skip to content

Commit

Permalink
Fix for html5 validation: Remove charset from mathjax config blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
liffiton committed Mar 14, 2013
1 parent 4962a72 commit c1f78ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions action/enable.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public function handle_tpl_metaheader_output(Doku_Event &$event, $param) {
// Create main config block
$event->data['script'][] = array(
'type' => 'text/x-mathjax-config',
'charset' => 'utf-8',
'_data' => $this->getConf('config'),
);

Expand All @@ -43,7 +42,6 @@ public function handle_tpl_metaheader_output(Doku_Event &$event, $param) {
if ($contents) {
$event->data['script'][] = array(
'type' => 'text/x-mathjax-config',
'charset' => 'utf-8',
'_data' => "\n// " . $f . "\n" . $contents,
);
}
Expand Down
2 changes: 1 addition & 1 deletion plugin.info.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
base mathjax
author Mark Liffiton
email liffiton@gmail.com
date 2013-03-09
date 2013-03-14
name MathJax plugin
desc Enables MathJax (http://mathjax.org/) parsing of TeX math expressions in wiki pages
url http://www.dokuwiki.org/plugin:mathjax

0 comments on commit c1f78ba

Please sign in to comment.