Development

Changeset 1486

You must first sign up to be able to contribute.

Changeset 1486

Show
Ignore:
Timestamp:
06/21/06 10:00:59 (2 years ago)
Author:
fabien
Message:

updated markdown

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/doc/book/markdown.php

    r500 r1486  
    1919    $md_list_level; 
    2020 
    21 $MarkdownPHPVersion    = 'Extra 1.0'; # Mon 5 Sep 2005 
     21$MarkdownPHPVersion    = 'Extra 1.0.1'; # Fri 9 Dec 2005 
    2222$MarkdownSyntaxVersion = '1.0.1';  # Sun 12 Dec 2004 
    2323 
     
    4141Plugin URI: http://www.michelf.com/projects/php-markdown/ 
    4242Description: <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a> allows you to write using an easy-to-read, easy-to-write plain text format. Based on the original Perl version by <a href="http://daringfireball.net/">John Gruber</a>. <a href="http://www.michelf.com/projects/php-markdown/">More...</a> 
    43 Version: Extra 1.0 
     43Version: Extra 1.0.1 
    4444Author: Michel Fortin 
    4545Author URI: http://www.michelf.com/ 
     
    14611461# 
    14621462  global $md_tab_width; 
    1463   $text = preg_replace_callback("
    1464       (?:\\n\\n|\\A) 
     1463  $text = preg_replace_callback('
     1464      (?:\n\n|\A) 
    14651465      (             # $1 = the code block -- one or more lines, starting with a space/tab 
    14661466        (?: 
    1467         (?:[ ]\{$md_tab_width} | \\t)  # Lines must start with a tab or a tab-width of spaces 
    1468         .*\\n+ 
     1467        (?:[ ]{'.$md_tab_width.'} | \t)  # Lines must start with a tab or a tab-width of spaces 
     1468        .*\n+ 
    14691469        )+ 
    14701470      ) 
    1471       ((?=^[ ]{0,$md_tab_width}\\S)|\\Z)  # Lookahead for non-space at line-start, or end of doc 
    1472     }xm"
     1471      ((?=^[ ]{0,'.$md_tab_width.'}\S)|\Z)  # Lookahead for non-space at line-start, or end of doc 
     1472    }xm'
    14731473    '_DoCodeBlocks_callback', $text); 
    14741474 
     
    19261926See Readme file for details. 
    19271927 
     1928Extra 1.0.1 - 9 December 2005 
     1929 
    19281930Extra 1.0 - 5 September 2005 
    19291931