Browse Source

upgrade discount to 2.1.6

Masayuki Matsuki 6 years ago
parent
commit
da59de04d8
100 changed files with 243 additions and 243 deletions
  1. 43
    41
      .gitignore
  2. 90
    94
      MANIFEST
  3. 46
    44
      MANIFEST.SKIP
  4. 1
    1
      Makefile.PL
  5. 0
    47
      discount-2.1.5a/COPYRIGHT
  6. 0
    1
      discount-2.1.5a/VERSION
  7. 30
    0
      discount/COPYRIGHT
  8. 0
    0
      discount/CREDITS
  9. 0
    0
      discount/Csio.c
  10. 0
    0
      discount/INSTALL
  11. 0
    0
      discount/Makefile.in
  12. 0
    0
      discount/Plan9/README
  13. 0
    0
      discount/Plan9/markdown.1
  14. 0
    0
      discount/Plan9/markdown.2
  15. 0
    0
      discount/Plan9/markdown.6
  16. 0
    0
      discount/Plan9/mkfile
  17. 0
    0
      discount/README
  18. 1
    0
      discount/VERSION
  19. 0
    0
      discount/amalloc.c
  20. 0
    0
      discount/amalloc.h
  21. 0
    0
      discount/basename.c
  22. 0
    0
      discount/configure.inc
  23. 0
    0
      discount/configure.sh
  24. 0
    0
      discount/css.c
  25. 0
    0
      discount/cstring.h
  26. 0
    0
      discount/docheader.c
  27. 0
    0
      discount/dumptree.c
  28. 0
    0
      discount/emmatch.c
  29. 0
    0
      discount/flags.c
  30. 14
    4
      discount/generate.c
  31. 0
    0
      discount/github_flavoured.c
  32. 0
    0
      discount/html5.c
  33. 0
    0
      discount/main.c
  34. 0
    0
      discount/makepage.1
  35. 0
    0
      discount/makepage.c
  36. 0
    0
      discount/markdown.1
  37. 0
    0
      discount/markdown.3
  38. 0
    0
      discount/markdown.7
  39. 2
    0
      discount/markdown.c
  40. 0
    0
      discount/markdown.h
  41. 0
    0
      discount/mkd-callbacks.3
  42. 0
    0
      discount/mkd-extensions.7
  43. 0
    0
      discount/mkd-functions.3
  44. 0
    0
      discount/mkd-line.3
  45. 0
    0
      discount/mkd2html.1
  46. 0
    0
      discount/mkd2html.c
  47. 0
    0
      discount/mkdio.c
  48. 1
    1
      discount/mkdio.h.in
  49. 0
    0
      discount/mktags.c
  50. 0
    0
      discount/pgm_options.c
  51. 0
    0
      discount/pgm_options.h
  52. 0
    0
      discount/resource.c
  53. 0
    0
      discount/setup.c
  54. 0
    0
      discount/tags.c
  55. 0
    0
      discount/tags.h
  56. 0
    0
      discount/tests/autolink.t
  57. 0
    0
      discount/tests/automatic.t
  58. 5
    0
      discount/tests/backslash.t
  59. 0
    0
      discount/tests/callbacks.t
  60. 0
    0
      discount/tests/chrome.text
  61. 0
    0
      discount/tests/code.t
  62. 0
    0
      discount/tests/compat.t
  63. 0
    0
      discount/tests/crash.t
  64. 0
    0
      discount/tests/defects.t
  65. 0
    0
      discount/tests/div.t
  66. 0
    0
      discount/tests/dl.t
  67. 0
    0
      discount/tests/embedlinks.text
  68. 0
    0
      discount/tests/emphasis.t
  69. 0
    0
      discount/tests/extrafootnotes.t
  70. 0
    0
      discount/tests/flow.t
  71. 0
    0
      discount/tests/footnotes.t
  72. 0
    0
      discount/tests/functions.sh
  73. 0
    0
      discount/tests/header.t
  74. 0
    0
      discount/tests/html.t
  75. 0
    0
      discount/tests/html5.t
  76. 0
    0
      discount/tests/links.text
  77. 0
    0
      discount/tests/linkylinky.t
  78. 0
    0
      discount/tests/linkypix.t
  79. 0
    0
      discount/tests/list.t
  80. 0
    0
      discount/tests/list3deep.t
  81. 0
    0
      discount/tests/misc.t
  82. 0
    0
      discount/tests/pandoc.t
  83. 0
    0
      discount/tests/para.t
  84. 0
    0
      discount/tests/paranoia.t
  85. 0
    0
      discount/tests/peculiarities.t
  86. 0
    0
      discount/tests/pseudo.t
  87. 0
    0
      discount/tests/reddit.t
  88. 0
    0
      discount/tests/reparse.t
  89. 0
    0
      discount/tests/schiraldi.t
  90. 0
    0
      discount/tests/smarty.t
  91. 0
    0
      discount/tests/snakepit.t
  92. 0
    0
      discount/tests/strikethrough.t
  93. 0
    0
      discount/tests/style.t
  94. 0
    0
      discount/tests/superscript.t
  95. 0
    0
      discount/tests/syntax.text
  96. 10
    10
      discount/tests/tables.t
  97. 0
    0
      discount/tests/tabstop.t
  98. 0
    0
      discount/tests/toc.t
  99. 0
    0
      discount/tests/xml.t
  100. 0
    0
      discount/theme.1

+ 43
- 41
.gitignore View File

@@ -6,44 +6,46 @@ Discount.c
6 6
 Discount.o
7 7
 pm_to_blib
8 8
 *.swp
9
-discount-2.1.5a/Csio.o
10
-discount-2.1.5a/basename.o
11
-discount-2.1.5a/blocktags
12
-discount-2.1.5a/cols
13
-discount-2.1.5a/config.cmd
14
-discount-2.1.5a/config.h
15
-discount-2.1.5a/config.log
16
-discount-2.1.5a/config.mak
17
-discount-2.1.5a/config.md
18
-discount-2.1.5a/config.sub
19
-discount-2.1.5a/css.o
20
-discount-2.1.5a/docheader.o
21
-discount-2.1.5a/dumptree.o
22
-discount-2.1.5a/echo
23
-discount-2.1.5a/emmatch.o
24
-discount-2.1.5a/flags.o
25
-discount-2.1.5a/generate.o
26
-discount-2.1.5a/html5.o
27
-discount-2.1.5a/libmarkdown
28
-discount-2.1.5a/libmarkdown.a
29
-discount-2.1.5a/librarian.sh
30
-discount-2.1.5a/main.o
31
-discount-2.1.5a/makepage
32
-discount-2.1.5a/markdown
33
-discount-2.1.5a/markdown.o
34
-discount-2.1.5a/mkd2html
35
-discount-2.1.5a/mkd2html.o
36
-discount-2.1.5a/mkdio.h
37
-discount-2.1.5a/mkdio.o
38
-discount-2.1.5a/mktags
39
-discount-2.1.5a/pgm_options.o
40
-discount-2.1.5a/resource.o
41
-discount-2.1.5a/setup.o
42
-discount-2.1.5a/tags.o
43
-discount-2.1.5a/theme
44
-discount-2.1.5a/theme.o
45
-discount-2.1.5a/toc.o
46
-discount-2.1.5a/version.c
47
-discount-2.1.5a/version.o
48
-discount-2.1.5a/xml.o
49
-discount-2.1.5a/xmlpage.o
9
+discount/Csio.o
10
+discount/basename.o
11
+discount/blocktags
12
+discount/cols
13
+discount/config.cmd
14
+discount/config.h
15
+discount/config.log
16
+discount/config.mak
17
+discount/config.md
18
+discount/config.sub
19
+discount/css.o
20
+discount/docheader.o
21
+discount/dumptree.o
22
+discount/echo
23
+discount/emmatch.o
24
+discount/flags.o
25
+discount/generate.o
26
+discount/github_flavoured.o
27
+discount/html5.o
28
+discount/libmarkdown
29
+discount/libmarkdown.a
30
+discount/librarian.sh
31
+discount/main.o
32
+discount/makepage
33
+discount/markdown
34
+discount/markdown.o
35
+discount/mkd2html
36
+discount/mkd2html.o
37
+discount/mkdio.h
38
+discount/mkdio.o
39
+discount/mktags
40
+discount/mktags.dSYM/
41
+discount/pgm_options.o
42
+discount/resource.o
43
+discount/setup.o
44
+discount/tags.o
45
+discount/theme
46
+discount/theme.o
47
+discount/toc.o
48
+discount/version.c
49
+discount/version.o
50
+discount/xml.o
51
+discount/xmlpage.o

+ 90
- 94
MANIFEST View File

@@ -1,109 +1,105 @@
1 1
 .gitignore
2 2
 Changes
3
-discount-2.1.5a/amalloc.c
4
-discount-2.1.5a/amalloc.h
5
-discount-2.1.5a/basename.c
6
-discount-2.1.5a/configure.inc
7
-discount-2.1.5a/configure.sh
8
-discount-2.1.5a/COPYRIGHT
9
-discount-2.1.5a/CREDITS
10
-discount-2.1.5a/Csio.c
11
-discount-2.1.5a/css.c
12
-discount-2.1.5a/cstring.h
13
-discount-2.1.5a/docheader.c
14
-discount-2.1.5a/dumptree.c
15
-discount-2.1.5a/emmatch.c
16
-discount-2.1.5a/flags.c
17
-discount-2.1.5a/generate.c
18
-discount-2.1.5a/github_flavoured.c
19
-discount-2.1.5a/github_flavoured.o
20
-discount-2.1.5a/html5.c
21
-discount-2.1.5a/INSTALL
22
-discount-2.1.5a/main.c
23
-discount-2.1.5a/Makefile
24
-discount-2.1.5a/Makefile.in
25
-discount-2.1.5a/mkd-callbacks.3
26
-discount-2.1.5a/mkd-extensions.7
27
-discount-2.1.5a/mkd-functions.3
28
-discount-2.1.5a/mkd-line.3
29
-discount-2.1.5a/mkdio.c
30
-discount-2.1.5a/pgm_options.c
31
-discount-2.1.5a/pgm_options.h
32
-discount-2.1.5a/Plan9/markdown.1
33
-discount-2.1.5a/Plan9/markdown.2
34
-discount-2.1.5a/Plan9/markdown.6
35
-discount-2.1.5a/Plan9/mkfile
36
-discount-2.1.5a/Plan9/README
37
-discount-2.1.5a/README
38
-discount-2.1.5a/resource.c
39
-discount-2.1.5a/setup.c
40
-discount-2.1.5a/tags.c
41
-discount-2.1.5a/tags.h
42
-discount-2.1.5a/tests/autolink.t
43
-discount-2.1.5a/tests/automatic.t
44
-discount-2.1.5a/tests/backslash.t
45
-discount-2.1.5a/tests/callbacks.t
46
-discount-2.1.5a/tests/chrome.text
47
-discount-2.1.5a/tests/code.t
48
-discount-2.1.5a/tests/compat.t
49
-discount-2.1.5a/tests/crash.t
50
-discount-2.1.5a/tests/defects.t
51
-discount-2.1.5a/tests/div.t
52
-discount-2.1.5a/tests/dl.t
53
-discount-2.1.5a/tests/embedlinks.text
54
-discount-2.1.5a/tests/emphasis.t
55
-discount-2.1.5a/tests/extrafootnotes.t
56
-discount-2.1.5a/tests/flow.t
57
-discount-2.1.5a/tests/footnotes.t
58
-discount-2.1.5a/tests/functions.sh
59
-discount-2.1.5a/tests/header.t
60
-discount-2.1.5a/tests/html.t
61
-discount-2.1.5a/tests/html5.t
62
-discount-2.1.5a/tests/links.text
63
-discount-2.1.5a/tests/linkylinky.t
64
-discount-2.1.5a/tests/linkypix.t
65
-discount-2.1.5a/tests/list.t
66
-discount-2.1.5a/tests/list3deep.t
67
-discount-2.1.5a/tests/misc.t
68
-discount-2.1.5a/tests/pandoc.t
69
-discount-2.1.5a/tests/para.t
70
-discount-2.1.5a/tests/paranoia.t
71
-discount-2.1.5a/tests/peculiarities.t
72
-discount-2.1.5a/tests/pseudo.t
73
-discount-2.1.5a/tests/reddit.t
74
-discount-2.1.5a/tests/reparse.t
75
-discount-2.1.5a/tests/schiraldi.t
76
-discount-2.1.5a/tests/smarty.t
77
-discount-2.1.5a/tests/snakepit.t
78
-discount-2.1.5a/tests/strikethrough.t
79
-discount-2.1.5a/tests/style.t
80
-discount-2.1.5a/tests/superscript.t
81
-discount-2.1.5a/tests/syntax.text
82
-discount-2.1.5a/tests/tables.t
83
-discount-2.1.5a/tests/tabstop.t
84
-discount-2.1.5a/tests/toc.t
85
-discount-2.1.5a/tests/xml.t
86
-discount-2.1.5a/toc.c
87
-discount-2.1.5a/tools/checkbits.sh
88
-discount-2.1.5a/tools/cols.c
89
-discount-2.1.5a/tools/echo.c
90
-discount-2.1.5a/VERSION
91
-discount-2.1.5a/xml.c
92
-discount-2.1.5a/xmlpage.c
93
-Discount.bs
94
-Discount.c
95
-Discount.o
96 3
 Discount.xs
4
+discount/amalloc.c
5
+discount/amalloc.h
6
+discount/basename.c
7
+discount/configure.inc
8
+discount/configure.sh
9
+discount/COPYRIGHT
10
+discount/CREDITS
11
+discount/Csio.c
12
+discount/css.c
13
+discount/cstring.h
14
+discount/docheader.c
15
+discount/dumptree.c
16
+discount/emmatch.c
17
+discount/flags.c
18
+discount/generate.c
19
+discount/github_flavoured.c
20
+discount/html5.c
21
+discount/INSTALL
22
+discount/main.c
23
+discount/Makefile.in
24
+discount/mkd-callbacks.3
25
+discount/mkd-extensions.7
26
+discount/mkd-functions.3
27
+discount/mkd-line.3
28
+discount/mkdio.c
29
+discount/pgm_options.c
30
+discount/pgm_options.h
31
+discount/Plan9/markdown.1
32
+discount/Plan9/markdown.2
33
+discount/Plan9/markdown.6
34
+discount/Plan9/mkfile
35
+discount/Plan9/README
36
+discount/README
37
+discount/resource.c
38
+discount/setup.c
39
+discount/tags.c
40
+discount/tags.h
41
+discount/tests/autolink.t
42
+discount/tests/automatic.t
43
+discount/tests/backslash.t
44
+discount/tests/callbacks.t
45
+discount/tests/chrome.text
46
+discount/tests/code.t
47
+discount/tests/compat.t
48
+discount/tests/crash.t
49
+discount/tests/defects.t
50
+discount/tests/div.t
51
+discount/tests/dl.t
52
+discount/tests/embedlinks.text
53
+discount/tests/emphasis.t
54
+discount/tests/extrafootnotes.t
55
+discount/tests/flow.t
56
+discount/tests/footnotes.t
57
+discount/tests/functions.sh
58
+discount/tests/header.t
59
+discount/tests/html.t
60
+discount/tests/html5.t
61
+discount/tests/links.text
62
+discount/tests/linkylinky.t
63
+discount/tests/linkypix.t
64
+discount/tests/list.t
65
+discount/tests/list3deep.t
66
+discount/tests/misc.t
67
+discount/tests/pandoc.t
68
+discount/tests/para.t
69
+discount/tests/paranoia.t
70
+discount/tests/peculiarities.t
71
+discount/tests/pseudo.t
72
+discount/tests/reddit.t
73
+discount/tests/reparse.t
74
+discount/tests/schiraldi.t
75
+discount/tests/smarty.t
76
+discount/tests/snakepit.t
77
+discount/tests/strikethrough.t
78
+discount/tests/style.t
79
+discount/tests/superscript.t
80
+discount/tests/syntax.text
81
+discount/tests/tables.t
82
+discount/tests/tabstop.t
83
+discount/tests/toc.t
84
+discount/tests/xml.t
85
+discount/toc.c
86
+discount/tools/checkbits.sh
87
+discount/tools/cols.c
88
+discount/tools/echo.c
89
+discount/VERSION
90
+discount/xml.c
91
+discount/xmlpage.c
97 92
 INSTALL.Discount
98 93
 lib/Text/Markdown/Discount.pm
99 94
 Makefile.PL
100
-MANIFEST
95
+MANIFEST			This list of files
101 96
 MYMETA.json
102 97
 MYMETA.yml
103 98
 ppport.h
104 99
 README
105 100
 t/00.load.t
106 101
 t/10.empty_or_all_newlines_input.t
102
+t/11.flags.t
107 103
 xt/index.text
108 104
 xt/MarkdownTest_1.0.3.t
109 105
 xt/MarkdownTest_1.0.3/MarkdownTest.pl

+ 46
- 44
MANIFEST.SKIP View File

@@ -12,47 +12,49 @@
12 12
 \.gz$
13 13
 \.cvsignore
14 14
 \.shipit
15
-^discount-2.1.5a/Csio.o
16
-^discount-2.1.5a/basename.o
17
-^discount-2.1.5a/blocktags
18
-^discount-2.1.5a/cols
19
-^discount-2.1.5a/config.cmd
20
-^discount-2.1.5a/config.h
21
-^discount-2.1.5a/config.log
22
-^discount-2.1.5a/config.mak
23
-^discount-2.1.5a/config.md
24
-^discount-2.1.5a/config.sub
25
-^discount-2.1.5a/css.o
26
-^discount-2.1.5a/docheader.o
27
-^discount-2.1.5a/dumptree.o
28
-^discount-2.1.5a/echo
29
-^discount-2.1.5a/emmatch.o
30
-^discount-2.1.5a/flags.o
31
-^discount-2.1.5a/generate.o
32
-^discount-2.1.5a/html5.o
33
-^discount-2.1.5a/libmarkdown
34
-^discount-2.1.5a/libmarkdown.a
35
-^discount-2.1.5a/librarian.sh
36
-^discount-2.1.5a/main.o
37
-^discount-2.1.5a/makepage
38
-^discount-2.1.5a/markdown
39
-^discount-2.1.5a/markdown.o
40
-^discount-2.1.5a/mkd2html
41
-^discount-2.1.5a/mkd2html.o
42
-^discount-2.1.5a/mkdio.h
43
-^discount-2.1.5a/mkdio.o
44
-^discount-2.1.5a/mktags
45
-^discount-2.1.5a/pgm_options.o
46
-^discount-2.1.5a/resource.o
47
-^discount-2.1.5a/setup.o
48
-^discount-2.1.5a/tags.o
49
-^discount-2.1.5a/theme
50
-^discount-2.1.5a/theme.o
51
-^discount-2.1.5a/toc.o
52
-^discount-2.1.5a/theme
53
-^discount-2.1.5a/theme.o
54
-^discount-2.1.5a/toc.o
55
-^discount-2.1.5a/version.c
56
-^discount-2.1.5a/version.o
57
-^discount-2.1.5a/xml.o
58
-^discount-2.1.5a/xmlpage.o
15
+^discount/Csio.o
16
+^discount/basename.o
17
+^discount/blocktags
18
+^discount/cols
19
+^discount/config.cmd
20
+^discount/config.h
21
+^discount/config.log
22
+^discount/config.mak
23
+^discount/config.md
24
+^discount/config.sub
25
+^discount/css.o
26
+^discount/docheader.o
27
+^discount/dumptree.o
28
+^discount/echo
29
+^discount/emmatch.o
30
+^discount/flags.o
31
+^discount/generate.o
32
+^discount/github_flavoured.o
33
+^discount/html5.o
34
+^discount/libmarkdown
35
+^discount/libmarkdown.a
36
+^discount/librarian.sh
37
+^discount/main.o
38
+^discount/makepage
39
+^discount/markdown
40
+^discount/markdown.o
41
+^discount/mkd2html
42
+^discount/mkd2html.o
43
+^discount/mkdio.h
44
+^discount/mkdio.o
45
+^discount/mktags
46
+^discount/mktags.dSYM/
47
+^discount/pgm_options.o
48
+^discount/resource.o
49
+^discount/setup.o
50
+^discount/tags.o
51
+^discount/theme
52
+^discount/theme.o
53
+^discount/toc.o
54
+^discount/theme
55
+^discount/theme.o
56
+^discount/toc.o
57
+^discount/version.c
58
+^discount/version.o
59
+^discount/xml.o
60
+^discount/xmlpage.o

+ 1
- 1
Makefile.PL View File

@@ -4,7 +4,7 @@ use warnings;
4 4
 use ExtUtils::MakeMaker;
5 5
 use File::Spec;
6 6
 
7
-my $extdir = 'discount-2.1.5a';
7
+my $extdir = 'discount';
8 8
 my $myextlib = File::Spec->catfile($extdir, 'libmarkdown.a');
9 9
 my $clean_files = join (" ",
10 10
                   map{ File::Spec->catfile($extdir, $_) }

+ 0
- 47
discount-2.1.5a/COPYRIGHT View File

@@ -1,47 +0,0 @@
1
-->Copyright (C) 2007 David Loren Parsons.  
2
-All rights reserved.<-
3
-
4
-Permission is hereby granted, free of charge, to any person
5
-obtaining a copy of this software and associated documentation files
6
-(the "Software"), to deal in the Software without restriction,
7
-including without limitation the rights to use, copy, modify, merge,
8
-publish, distribute, sublicence, and/or sell copies of the Software,
9
-and to permit persons to whom the Software is furnished to do so,
10
-subject to the following conditions:
11
-
12
- 1. Redistributions of source code must retain the above copyright
13
-    notice, this list of conditions, and the following disclaimer.
14
-
15
- 2. Redistributions in binary form must reproduce the above
16
-    copyright notice, this list of conditions and the following
17
-    disclaimer in the documentation and/or other materials provided
18
-    with the distribution, and in the same place and form as other
19
-    copyright, license and disclaimer information.
20
-
21
- 3. The end-user documentation included with the redistribution, if
22
-    any, must include the following acknowledgment:
23
-
24
-        This product includes software developed by
25
-        David Loren Parsons <http://www.pell.portland.or.us/~orc>
26
-
27
-    in the same place and form as other third-party acknowledgments.
28
-    Alternately, this acknowledgment may appear in the software
29
-    itself, in the same form and location as other such third-party
30
-    acknowledgments.
31
-
32
- 4. Except as contained in this notice, the name of David Loren
33
-    Parsons shall not be used in advertising or otherwise to promote
34
-    the sale, use or other dealings in this Software without prior
35
-    written authorization from David Loren Parsons.
36
-
37
-THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
38
-WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
39
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
40
-IN NO EVENT SHALL DAVID LOREN PARSONS BE LIABLE FOR ANY DIRECT,
41
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
42
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
43
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
44
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
45
-STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
46
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
47
-OF THE POSSIBILITY OF SUCH DAMAGE.

+ 0
- 1
discount-2.1.5a/VERSION View File

@@ -1 +0,0 @@
1
-2.1.5a

+ 30
- 0
discount/COPYRIGHT View File

@@ -0,0 +1,30 @@
1
+->Copyright (C) 2007 David Loren Parsons.  
2
+All rights reserved.<-
3
+
4
+Redistribution and use in source and binary forms, with or without
5
+modification, are permitted provided that the following conditions
6
+are met:
7
+
8
+1.  Redistributions of works must retain the original copyright notice,
9
+    this list of conditions and the following disclaimer.
10
+2.  Redistributions in binary form must reproduce the original copyright
11
+    notice, this list of conditions and the following disclaimer in the
12
+    documentation and/or other materials provided with the distribution.
13
+    Neither my name (David L Parsons) nor the names of contributors to
14
+    this code may be used to endorse or promote products derived
15
+    from this work without specific prior written permission.
16
+
17
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
20
+FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
21
+COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
27
+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28
+POSSIBILITY OF SUCH DAMAGE.
29
+
30
+

discount-2.1.5a/CREDITS → discount/CREDITS View File


discount-2.1.5a/Csio.c → discount/Csio.c View File


discount-2.1.5a/INSTALL → discount/INSTALL View File


discount-2.1.5a/Makefile.in → discount/Makefile.in View File


discount-2.1.5a/Plan9/README → discount/Plan9/README View File


discount-2.1.5a/Plan9/markdown.1 → discount/Plan9/markdown.1 View File


discount-2.1.5a/Plan9/markdown.2 → discount/Plan9/markdown.2 View File


discount-2.1.5a/Plan9/markdown.6 → discount/Plan9/markdown.6 View File


discount-2.1.5a/Plan9/mkfile → discount/Plan9/mkfile View File


discount-2.1.5a/README → discount/README View File


+ 1
- 0
discount/VERSION View File

@@ -0,0 +1 @@
1
+2.1.6

discount-2.1.5a/amalloc.c → discount/amalloc.c View File


discount-2.1.5a/amalloc.h → discount/amalloc.h View File


discount-2.1.5a/basename.c → discount/basename.c View File


discount-2.1.5a/configure.inc → discount/configure.inc View File


discount-2.1.5a/configure.sh → discount/configure.sh View File


discount-2.1.5a/css.c → discount/css.c View File


discount-2.1.5a/cstring.h → discount/cstring.h View File


discount-2.1.5a/docheader.c → discount/docheader.c View File


discount-2.1.5a/dumptree.c → discount/dumptree.c View File


discount-2.1.5a/emmatch.c → discount/emmatch.c View File


discount-2.1.5a/flags.c → discount/flags.c View File


discount-2.1.5a/generate.c → discount/generate.c View File

@@ -73,7 +73,7 @@ isthisspace(MMIOT *f, int i)
73 73
 {
74 74
     int c = peek(f, i);
75 75
 
76
-    return isspace(c) || (c == EOF);
76
+    return isspace(c) || (c < ' ');
77 77
 }
78 78
 
79 79
 
@@ -1335,7 +1335,16 @@ text(MMIOT *f)
1335 1335
 	case '\\':  switch ( c = pull(f) ) {
1336 1336
 		    case '&':   Qstring("&amp;", f);
1337 1337
 				break;
1338
-		    case '<':   Qstring("&lt;", f);
1338
+		    case '<':   c = peek(f,1);
1339
+				if ( (c == EOF) || isspace(c) )
1340
+				    Qstring("&lt;", f);
1341
+				else {
1342
+				    /* Markdown.pl does not escape <[nonwhite]
1343
+				     * sequences */
1344
+				    Qchar('\\', f);
1345
+				    shift(f, -1);
1346
+				}
1347
+				
1339 1348
 				break;
1340 1349
 		    case '^':   if ( f->flags & (MKD_STRICT|MKD_NOSUPERSCRIPT) ) {
1341 1350
 				    Qchar('\\', f);
@@ -1424,8 +1433,9 @@ printheader(Paragraph *pp, MMIOT *f)
1424 1433
 
1425 1434
 enum e_alignments { a_NONE, a_CENTER, a_LEFT, a_RIGHT };
1426 1435
 
1427
-static char* alignments[] = { "", " align=\"center\"", " align=\"left\"",
1428
-				  " align=\"right\"" };
1436
+static char* alignments[] = { "", " style=\"text-align:center;\"",
1437
+				  " style=\"text-align:left;\"",
1438
+				  " style=\"text-align:right;\"" };
1429 1439
 
1430 1440
 typedef STRING(int) Istring;
1431 1441
 

discount-2.1.5a/github_flavoured.c → discount/github_flavoured.c View File


discount-2.1.5a/html5.c → discount/html5.c View File


discount-2.1.5a/main.c → discount/main.c View File


discount-2.1.5a/makepage.1 → discount/makepage.1 View File


discount-2.1.5a/makepage.c → discount/makepage.c View File


discount-2.1.5a/markdown.1 → discount/markdown.1 View File


discount-2.1.5a/markdown.3 → discount/markdown.3 View File


discount-2.1.5a/markdown.7 → discount/markdown.7 View File


discount-2.1.5a/markdown.c → discount/markdown.c View File

@@ -524,6 +524,7 @@ islist(Line *t, int *clip, DWORD flags, int *list_type)
524 524
 	    strtoul(T(t->text)+t->dle, &q, 10);
525 525
 	    if ( (q > T(t->text)+t->dle) && (q == T(t->text) + (j-1)) ) {
526 526
 		j = nextnonblank(t,j);
527
+		/* *clip = j; */
527 528
 		*clip = (j > 4) ? 4 : j;
528 529
 		*list_type = OL;
529 530
 		return AL;
@@ -729,6 +730,7 @@ isdivmarker(Line *p, int start, DWORD flags)
729 730
     if ( flags & (MKD_NODIVQUOTE|MKD_STRICT) )
730 731
 	return 0;
731 732
 
733
+    start = nextnonblank(p, start);
732 734
     last= S(p->text) - (1 + start);
733 735
     s   = T(p->text) + start;
734 736
 

discount-2.1.5a/markdown.h → discount/markdown.h View File


discount-2.1.5a/mkd-callbacks.3 → discount/mkd-callbacks.3 View File


discount-2.1.5a/mkd-extensions.7 → discount/mkd-extensions.7 View File


discount-2.1.5a/mkd-functions.3 → discount/mkd-functions.3 View File


discount-2.1.5a/mkd-line.3 → discount/mkd-line.3 View File


discount-2.1.5a/mkd2html.1 → discount/mkd2html.1 View File


discount-2.1.5a/mkd2html.c → discount/mkd2html.c View File


discount-2.1.5a/mkdio.c → discount/mkdio.c View File


discount-2.1.5a/mkdio.h.in → discount/mkdio.h.in View File

@@ -26,7 +26,7 @@ void mkd_shlib_destructor();
26 26
 /* compilation, debugging, cleanup
27 27
  */
28 28
 int mkd_compile(MMIOT*, mkd_flag_t);
29
-int mkd_cleanup(MMIOT*);
29
+void mkd_cleanup(MMIOT*);
30 30
 
31 31
 /* markup functions
32 32
  */

discount-2.1.5a/mktags.c → discount/mktags.c View File


discount-2.1.5a/pgm_options.c → discount/pgm_options.c View File


discount-2.1.5a/pgm_options.h → discount/pgm_options.h View File


discount-2.1.5a/resource.c → discount/resource.c View File


discount-2.1.5a/setup.c → discount/setup.c View File


discount-2.1.5a/tags.c → discount/tags.c View File


discount-2.1.5a/tags.h → discount/tags.h View File


discount-2.1.5a/tests/autolink.t → discount/tests/autolink.t View File


discount-2.1.5a/tests/automatic.t → discount/tests/automatic.t View File


discount-2.1.5a/tests/backslash.t → discount/tests/backslash.t View File

@@ -12,5 +12,10 @@ try -fautolink 'autolink url with trailing \' \
12 12
     'http://a.com/\' \
13 13
     '<p><a href="http://a.com/\">http://a.com/\</a></p>'
14 14
 
15
+
16
+try 'backslashes before <text' '\<code>' '<p>\<code></p>'
17
+try 'backslashes before <{EOF}' '\<' '<p>&lt;</p>'
18
+try 'backslashes before <[space]' '\< j' '<p>&lt; j</p>'
19
+
15 20
 summary $0
16 21
 exit $rc

discount-2.1.5a/tests/callbacks.t → discount/tests/callbacks.t View File


discount-2.1.5a/tests/chrome.text → discount/tests/chrome.text View File


discount-2.1.5a/tests/code.t → discount/tests/code.t View File


discount-2.1.5a/tests/compat.t → discount/tests/compat.t View File


discount-2.1.5a/tests/crash.t → discount/tests/crash.t View File


discount-2.1.5a/tests/defects.t → discount/tests/defects.t View File


discount-2.1.5a/tests/div.t → discount/tests/div.t View File


discount-2.1.5a/tests/dl.t → discount/tests/dl.t View File


discount-2.1.5a/tests/embedlinks.text → discount/tests/embedlinks.text View File


discount-2.1.5a/tests/emphasis.t → discount/tests/emphasis.t View File


discount-2.1.5a/tests/extrafootnotes.t → discount/tests/extrafootnotes.t View File


discount-2.1.5a/tests/flow.t → discount/tests/flow.t View File


discount-2.1.5a/tests/footnotes.t → discount/tests/footnotes.t View File


discount-2.1.5a/tests/functions.sh → discount/tests/functions.sh View File


discount-2.1.5a/tests/header.t → discount/tests/header.t View File


discount-2.1.5a/tests/html.t → discount/tests/html.t View File


discount-2.1.5a/tests/html5.t → discount/tests/html5.t View File


discount-2.1.5a/tests/links.text → discount/tests/links.text View File


discount-2.1.5a/tests/linkylinky.t → discount/tests/linkylinky.t View File


discount-2.1.5a/tests/linkypix.t → discount/tests/linkypix.t View File


discount-2.1.5a/tests/list.t → discount/tests/list.t View File


discount-2.1.5a/tests/list3deep.t → discount/tests/list3deep.t View File


discount-2.1.5a/tests/misc.t → discount/tests/misc.t View File


discount-2.1.5a/tests/pandoc.t → discount/tests/pandoc.t View File


discount-2.1.5a/tests/para.t → discount/tests/para.t View File


discount-2.1.5a/tests/paranoia.t → discount/tests/paranoia.t View File


discount-2.1.5a/tests/peculiarities.t → discount/tests/peculiarities.t View File


discount-2.1.5a/tests/pseudo.t → discount/tests/pseudo.t View File


discount-2.1.5a/tests/reddit.t → discount/tests/reddit.t View File


discount-2.1.5a/tests/reparse.t → discount/tests/reparse.t View File


discount-2.1.5a/tests/schiraldi.t → discount/tests/schiraldi.t View File


discount-2.1.5a/tests/smarty.t → discount/tests/smarty.t View File


discount-2.1.5a/tests/snakepit.t → discount/tests/snakepit.t View File


discount-2.1.5a/tests/strikethrough.t → discount/tests/strikethrough.t View File


discount-2.1.5a/tests/style.t → discount/tests/style.t View File


discount-2.1.5a/tests/superscript.t → discount/tests/superscript.t View File


discount-2.1.5a/tests/syntax.text → discount/tests/syntax.text View File


discount-2.1.5a/tests/tables.t → discount/tests/tables.t View File

@@ -97,14 +97,14 @@ hello|sailor' \
97 97
     '<table>
98 98
 <thead>
99 99
 <tr>
100
-<th align="right">a  </th>
101
-<th align="left">  b</th>
100
+<th style="text-align:right;">a  </th>
101
+<th style="text-align:left;">  b</th>
102 102
 </tr>
103 103
 </thead>
104 104
 <tbody>
105 105
 <tr>
106
-<td align="right">hello</td>
107
-<td align="left">sailor</td>
106
+<td style="text-align:right;">hello</td>
107
+<td style="text-align:left;">sailor</td>
108 108
 </tr>
109 109
 </tbody>
110 110
 </table>'
@@ -257,16 +257,16 @@ try "table with leading |'s and alignment" \
257 257
 '<table>
258 258
 <thead>
259 259
 <tr>
260
-<th align="left">AA</th>
261
-<th align="center">BB</th>
262
-<th align="right">CC</th>
260
+<th style="text-align:left;">AA</th>
261
+<th style="text-align:center;">BB</th>
262
+<th style="text-align:right;">CC</th>
263 263
 </tr>
264 264
 </thead>
265 265
 <tbody>
266 266
 <tr>
267
-<td align="left">aa</td>
268
-<td align="center">bb</td>
269
-<td align="right">cc</td>
267
+<td style="text-align:left;">aa</td>
268
+<td style="text-align:center;">bb</td>
269
+<td style="text-align:right;">cc</td>
270 270
 </tr>
271 271
 </tbody>
272 272
 </table>'

discount-2.1.5a/tests/tabstop.t → discount/tests/tabstop.t View File


discount-2.1.5a/tests/toc.t → discount/tests/toc.t View File


discount-2.1.5a/tests/xml.t → discount/tests/xml.t View File


discount-2.1.5a/theme.1 → discount/theme.1 View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save