summaryrefslogtreecommitdiff
path: root/inc/parser/handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/handler.php')
-rw-r--r--inc/parser/handler.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 3ba3d654e..5908f23a2 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -315,7 +315,8 @@ class Doku_Handler {
$matches[0] = NULL;
}
# $matches[0] contains name of programming language
- # if available
+ # if available, We shortcut html here.
+ if($matches[0] == 'html') $matches[0] = 'html4strict';
$this->_addCall(
'code',
array($matches[1],$matches[0]),