Changeset 595405
- Timestamp:
- 09/06/2012 02:31:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codecolorer-markdown/trunk/class.codecolorer_markdownextra_parser.php
r541623 r595405 23 23 24 24 // Extract the first line from the code-block if it is enclosed in colons 25 $matched = preg_match('/ :([a-z0-9]*):(.*)/ims', $codeblock, $out);25 $matched = preg_match('/^[ \t]*:([a-z0-9]*):(.*)/ims', $codeblock, $out); 26 26 $language = $out[1]; 27 27 $code = $out[2];
Note: See TracChangeset
for help on using the changeset viewer.