Skip to content
Snippets Groups Projects
Commit f9d4952b authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fixed filename support in <file> syntax

Ignore-this: 59bec5f55f7d0eb26d454d76da750142

darcs-hash:20090726185025-7ad00-1577f684e585c849fda9505ccad98735f0c7bb76.gz
parent 28e7fbd0
No related branches found
No related tags found
No related merge requests found
......@@ -34,8 +34,8 @@ class Doku_Renderer_code extends Doku_Renderer {
/**
* Wraps around code()
*/
function file($text) {
$this->code($text);
function file($text, $language = NULL, $filename='') {
$this->code($text, $language, $filename);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment