Skip to content
This repository
Browse code

Update tests for compatibility with latest MMD release

  • Loading branch information...
commit e00dc0e97e0eae38d627fc5229330ee6208386f8 1 parent 9c99105
Fletcher T. Penney authored March 25, 2011

Showing 34 changed files with 283 additions and 192 deletions. Show diff stats Hide diff stats

  1. 2  MemoirTests/Footnotes.tex
  2. 44  MemoirTests/Link Attributes.tex
  3. 2  MemoirTests/Sanity.tex
  4. 4  MultiMarkdownTests/Automatic Labels.html
  5. 4  MultiMarkdownTests/Base Header Level.html
  6. 4  MultiMarkdownTests/BibTeX.html
  7. 4  MultiMarkdownTests/Citations.html
  8. 4  MultiMarkdownTests/Definition Lists.html
  9. 4  MultiMarkdownTests/Dutch.html
  10. 4  MultiMarkdownTests/Email.html
  11. 4  MultiMarkdownTests/English.html
  12. 4  MultiMarkdownTests/Footnotes.html
  13. 2  MultiMarkdownTests/Footnotes.tex
  14. 4  MultiMarkdownTests/French.html
  15. 4  MultiMarkdownTests/German.html
  16. 4  MultiMarkdownTests/GermanGuillemets.html
  17. 4  MultiMarkdownTests/Glossary.html
  18. 4  MultiMarkdownTests/Headers.html
  19. 4  MultiMarkdownTests/Line Breaks.html
  20. 29  MultiMarkdownTests/Link Attributes.html
  21. 44  MultiMarkdownTests/Link Attributes.tex
  22. 4  MultiMarkdownTests/List Parsing.html
  23. 19  MultiMarkdownTests/MarkdownInHTML.html
  24. 13  MultiMarkdownTests/MarkdownInHTML.tex
  25. 19  MultiMarkdownTests/MarkdownInHTML.text
  26. 4  MultiMarkdownTests/Math.html
  27. 4  MultiMarkdownTests/MetaData.html
  28. 23  MultiMarkdownTests/Sanity.html
  29. 2  MultiMarkdownTests/Sanity.tex
  30. 4  MultiMarkdownTests/SmartQuotes.html
  31. 4  MultiMarkdownTests/Swedish.html
  32. 182  MultiMarkdownTests/Tables.html
  33. 5  Tests/Compatibility.html
  34. 9  Tests/Compatibility.text
2  MemoirTests/Footnotes.tex
@@ -2,7 +2,7 @@
2 2
 \def\mytitle{MultiMarkdown Footer Test}
3 3
 \def\latexmode{memoir}
4 4
 \input{mmd-article-begin-doc}
5  
-Here is some text containing a footnote.\footnote{Here is the text of the footnote itself. It also has a \href{http://somelink.com}{link}\footnote{\href{http://somelink.com}{http:\slash \slash somelink.com}}.}
  5
+Here is some text containing a footnote.\footnote{Here is the text of the footnote itself. It also has a \href{http://somelink.com}{link}\footnote{\href{http://somelink.com}{http:/\slash somelink.com}}.}
6 6
 
7 7
 \begin{quote}
8 8
 
44  MemoirTests/Link Attributes.tex
@@ -2,62 +2,58 @@
2  MemoirTests/Sanity.tex
@@ -71,10 +71,12 @@ \part{Section}
71 71
 \begin{figure}[htbp]
72 72
 \centering
73 73
 \includegraphics[keepaspectratio,width=\textwidth,height=0.75\textheight]{file.png}
  74
+\caption{figure}
74 75
 \label{figure}
75 76
 \end{figure}
76 77
 
77 78
 
  79
+
78 80
 \begin{table}[htbp]
79 81
 \begin{minipage}{\linewidth}
80 82
 \setlength{\tymax}{0.5\linewidth}
4  MultiMarkdownTests/Automatic Labels.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/Base Header Level.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/BibTeX.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/Citations.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/Definition Lists.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/Dutch.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/Email.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/English.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/Footnotes.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
2  MultiMarkdownTests/Footnotes.tex
... ...
@@ -1,7 +1,7 @@
1 1
 \input{mmd-article-header}
2 2
 \def\mytitle{MultiMarkdown Footer Test}
3 3
 \input{mmd-article-begin-doc}
4  
-Here is some text containing a footnote.\footnote{Here is the text of the footnote itself. It also has a \href{http://somelink.com}{link}\footnote{\href{http://somelink.com}{http:\slash \slash somelink.com}}.}
  4
+Here is some text containing a footnote.\footnote{Here is the text of the footnote itself. It also has a \href{http://somelink.com}{link}\footnote{\href{http://somelink.com}{http:/\slash somelink.com}}.}
5 5
 
6 6
 \begin{quote}
7 7
 
4  MultiMarkdownTests/French.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/German.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/GermanGuillemets.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/Glossary.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/Headers.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/Line Breaks.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
29  MultiMarkdownTests/Link Attributes.html
... ...
@@ -1,5 +1,5 @@
@@ -8,13 +8,28 @@
@@ -34,6 +49,6 @@
44  MultiMarkdownTests/Link Attributes.tex
... ...
@@ -1,62 +1,58 @@
4  MultiMarkdownTests/List Parsing.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
19  MultiMarkdownTests/MarkdownInHTML.html
... ...
@@ -0,0 +1,19 @@
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
  3
+<html xmlns="http://www.w3.org/1999/xhtml">
  4
+<head>
  5
+	<meta name="latexinput" content="mmd-article-header"/>
  6
+	<title>Markdown in HTML Test</title>
  7
+	<meta name="latexmode" content="memoir"/>
  8
+	<meta name="latexinput" content="mmd-article-begin-doc"/>
  9
+	<meta name="latexfooter" content="mmd-memoir-footer"/>
  10
+</head>
  11
+<body>
  12
+<div>This is *not* Markdown **encoded**.</div>
  13
+<div>This <em>is</em> Markdown <strong>encoded</strong>.</div>
  14
+<div>This <em>is</em> Markdown <strong>encoded</strong>.</div>
  15
+<div>This <em>is</em> Markdown <strong>encoded</strong>.</div>
  16
+<div>This <em>is</em> Markdown <strong>encoded</strong>.</div>
  17
+<div>This <em>is</em> Markdown <strong>encoded</strong>.</div>
  18
+</body>
  19
+</html>
13  MultiMarkdownTests/MarkdownInHTML.tex
... ...
@@ -0,0 +1,13 @@
  1
+\input{mmd-article-header}
  2
+\def\mytitle{Markdown in HTML Test}
  3
+\def\latexmode{memoir}
  4
+\input{mmd-article-begin-doc}
  5
+This \emph{is} Markdown \textbf{encoded}.
  6
+This \emph{is} Markdown \textbf{encoded}.
  7
+This \emph{is} Markdown \textbf{encoded}.
  8
+This \emph{is} Markdown \textbf{encoded}.
  9
+This \emph{is} Markdown \textbf{encoded}.
  10
+
  11
+\input{mmd-memoir-footer}
  12
+
  13
+\end{document}
19  MultiMarkdownTests/MarkdownInHTML.text
... ...
@@ -0,0 +1,19 @@
  1
+latex input:		mmd-article-header  
  2
+Title:				Markdown in HTML Test  
  3
+latex mode:			memoir  
  4
+Base Header Level:	2  
  5
+latex input:		mmd-article-begin-doc  
  6
+latex footer:		mmd-memoir-footer  
  7
+
  8
+<div>This is *not* Markdown **encoded**.</div>
  9
+
  10
+<div markdown=1>This *is* Markdown **encoded**.</div>
  11
+
  12
+<div markdown="1">This *is* Markdown **encoded**.</div>
  13
+
  14
+<div markdown = 1>This *is* Markdown **encoded**.</div>
  15
+
  16
+<div markdown = "1">This *is* Markdown **encoded**.</div>
  17
+
  18
+
  19
+<div markdown = " 1 " >This *is* Markdown **encoded**.</div>
4  MultiMarkdownTests/Math.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/MetaData.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
23  MultiMarkdownTests/Sanity.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
@@ -73,24 +73,29 @@ <h1 id="section">Section</h1>
73 73
 Link <a href="#link"></a>
74 74
 Nowhere <a href="#nowhere"></a></p>
75 75
 
76  
-<p><img src="file.png" id="figure" alt="figure" /></p>
  76
+<figure>
  77
+<img src="file.png" alt="figure" id="figure" />
  78
+<figcaption>figure</figcaption></figure>
  79
+
77 80
 
78 81
 <table>
79 82
 <caption id="table">table</caption>
80  
-<col align="left"/>
81  
-<col align="left"/>
  83
+<colgroup>
  84
+<col style="text-align:left;"/>
  85
+<col style="text-align:left;"/>
  86
+</colgroup>
82 87
 
83 88
 <thead>
84 89
 <tr>
85  
-	<th align="left">a</th>
86  
-	<th align="left">b</th>
  90
+	<th style="text-align:left;">a</th>
  91
+	<th style="text-align:left;">b</th>
87 92
 </tr>
88 93
 </thead>
89 94
 
90 95
 <tbody>
91 96
 <tr>
92  
-	<td align="left">x</td>
93  
-	<td align="left">y</td>
  97
+	<td style="text-align:left;">x</td>
  98
+	<td style="text-align:left;">y</td>
94 99
 </tr>
95 100
 </tbody>
96 101
 </table>
2  MultiMarkdownTests/Sanity.tex
@@ -70,10 +70,12 @@ \part{Section}
70 70
 \begin{figure}[htbp]
71 71
 \centering
72 72
 \includegraphics[keepaspectratio,width=\textwidth,height=0.75\textheight]{file.png}
  73
+\caption{figure}
73 74
 \label{figure}
74 75
 \end{figure}
75 76
 
76 77
 
  78
+
77 79
 \begin{table}[htbp]
78 80
 \begin{minipage}{\linewidth}
79 81
 \setlength{\tymax}{0.5\linewidth}
4  MultiMarkdownTests/SmartQuotes.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
4  MultiMarkdownTests/Swedish.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
182  MultiMarkdownTests/Tables.html
... ...
@@ -1,5 +1,5 @@
1  
-<?xml version="1.0" encoding="UTF-8" ?>
2  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  1
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2
+<!DOCTYPE html>
3 3
 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
 <head>
5 5
 	<meta name="latexinput" content="mmd-article-header"/>
@@ -12,43 +12,45 @@
12 12
 
13 13
 <table>
14 14
 <caption id="prototypetable">Prototype table caption</caption>
15  
-<col align="left"/>
16  
-<col align="center"/>
17  
-<col align="right"/>
  15
+<colgroup>
  16
+<col style="text-align:left;"/>
  17
+<col style="text-align:center;"/>
  18
+<col style="text-align:right;"/>
  19
+</colgroup>
18 20
 
19 21
 <thead>
20 22
 <tr>
21  
-	<th align="left"></th>
22  
-	<th align="center" colspan="2">Grouping</th>
  23
+	<th style="text-align:left;"></th>
  24
+	<th style="text-align:center;" colspan="2">Grouping</th>
23 25
 </tr>
24 26
 <tr>
25  
-	<th align="left">First Header</th>
26  
-	<th align="center">Second Header</th>
27  
-	<th align="right">Third Header</th>
  27
+	<th style="text-align:left;">First Header</th>
  28
+	<th style="text-align:center;">Second Header</th>
  29
+	<th style="text-align:right;">Third Header</th>
28 30
 </tr>
29 31
 </thead>
30 32
 
31 33
 <tbody>
32 34
 <tr>
33  
-	<td align="left">Content</td>
34  
-	<td align="center" colspan="2"><em>Long Cell</em></td>
  35
+	<td style="text-align:left;">Content</td>
  36
+	<td style="text-align:center;" colspan="2"><em>Long Cell</em></td>
35 37
 </tr>
36 38
 <tr>
37  
-	<td align="left">Content</td>
38  
-	<td align="center"><strong>Cell</strong></td>
39  
-	<td align="right">Cell</td>
  39
+	<td style="text-align:left;">Content</td>
  40
+	<td style="text-align:center;"><strong>Cell</strong></td>
  41
+	<td style="text-align:right;">Cell</td>
40 42
 </tr>
41 43
 </tbody>
42 44
 
43 45
 <tbody>
44 46
 <tr>
45  
-	<td align="left">New section</td>
46  
-	<td align="center">More</td>
47  
-	<td align="right">Data</td>
  47
+	<td style="text-align:left;">New section</td>
  48
+	<td style="text-align:center;">More</td>
  49
+	<td style="text-align:right;">Data</td>
48 50
 </tr>
49 51
 <tr>
50  
-	<td align="left">And more</td>
51  
-	<td align="center" colspan="2">With an escaped &#8216;|&#8217;</td>
  52
+	<td style="text-align:left;">And more</td>
  53
+	<td style="text-align:center;" colspan="2">With an escaped &#8216;|&#8217;</td>
52 54
 </tr>
53 55
 </tbody>
54 56
 </table>
@@ -58,43 +60,45 @@
58 60
 
59 61
 <table>
60 62
 <caption id="captionbutnolabel">Caption but no label</caption>
61  
-<col align="left"/>
62  
-<col align="center"/>
63  
-<col align="right"/>
  63
+<colgroup>
  64
+<col style="text-align:left;"/>
  65
+<col style="text-align:center;"/>
  66
+<col style="text-align:right;"/>
  67
+</colgroup>
64 68
 
65 69
 <thead>
66 70
 <tr>
67  
-	<th align="left"></th>
68  
-	<th align="center" colspan="2">Grouping</th>
  71
+	<th style="text-align:left;"></th>
  72
+	<th style="text-align:center;" colspan="2">Grouping</th>
69 73
 </tr>
70 74
 <tr>
71  
-	<th align="left">First Header</th>
72  
-	<th align="center">Second Header</th>
73  
-	<th align="right">Third Header</th>
  75
+	<th style="text-align:left;">First Header</th>
  76
+	<th style="text-align:center;">Second Header</th>
  77
+	<th style="text-align:right;">Third Header</th>
74 78
 </tr>
75 79
 </thead>
76 80
 
77 81
 <tbody>
78 82
 <tr>
79  
-	<td align="left">Content</td>
80  
-	<td align="center" colspan="2"><em>Long Cell</em></td>
  83
+	<td style="text-align:left;">Content</td>
  84
+	<td style="text-align:center;" colspan="2"><em>Long Cell</em></td>
81 85
 </tr>
82 86
 <tr>
83  
-	<td align="left">Content</td>
84  
-	<td align="center"><strong>Cell</strong></td>
85  
-	<td align="right">Cell</td>
  87
+	<td style="text-align:left;">Content</td>
  88
+	<td style="text-align:center;"><strong>Cell</strong></td>
  89
+	<td style="text-align:right;">Cell</td>
86 90
 </tr>
87 91
 </tbody>
88 92
 
89 93
 <tbody>
90 94
 <tr>
91  
-	<td align="left">New section</td>
92  
-	<td align="center">More</td>
93  
-	<td align="right">Data</td>
  95
+	<td style="text-align:left;">New section</td>
  96
+	<td style="text-align:center;">More</td>
  97
+	<td style="text-align:right;">Data</td>
94 98
 </tr>
95 99
 <tr>
96  
-	<td align="left">And more</td>
97  
-	<td align="center" colspan="2">With an escaped &#8216;|&#8217;</td>
  100
+	<td style="text-align:left;">And more</td>
  101
+	<td style="text-align:center;" colspan="2">With an escaped &#8216;|&#8217;</td>
98 102
 </tr>
99 103
 </tbody>
100 104
 </table>
@@ -104,46 +108,48 @@
104 108
 
105 109
 <table>
106 110
 <caption id="multimarkdownvs.crayons">MultiMarkdown vs. Crayons</caption>
107  
-<col align="left"/>
108  
-<col align="center"/>
109  
-<col align="center"/>
  111
+<colgroup>
  112
+<col style="text-align:left;"/>
  113
+<col style="text-align:center;"/>
  114
+<col style="text-align:center;"/>
  115
+</colgroup>
110 116
 
111 117
 <thead>
112 118
 <tr>
113  
-	<th align="left">Features</th>
114  
-	<th align="center">MultiMarkdown</th>
115  
-	<th align="center">Crayons</th>
  119
+	<th style="text-align:left;">Features</th>
  120
+	<th style="text-align:center;">MultiMarkdown</th>
  121
+	<th style="text-align:center;">Crayons</th>
116 122
 </tr>
117 123
 </thead>
118 124
 
119 125
 <tbody>
120 126
 <tr>
121  
-	<td align="left">Melts in warm places</td>
122  
-	<td align="center">No</td>
123  
-	<td align="center">Yes</td>
  127
+	<td style="text-align:left;">Melts in warm places</td>
  128
+	<td style="text-align:center;">No</td>
  129
+	<td style="text-align:center;">Yes</td>
124 130
 </tr>
125 131
 <tr>
126  
-	<td align="left">Mistakes can be easily fixed</td>
127  
-	<td align="center">Yes</td>
128  
-	<td align="center">No</td>
  132
+	<td style="text-align:left;">Mistakes can be easily fixed</td>
  133
+	<td style="text-align:center;">Yes</td>
  134
+	<td style="text-align:center;">No</td>
129 135
 </tr>
130 136
 <tr>
131  
-	<td align="left">Easy to copy documents for friends</td>
132  
-	<td align="center">Yes</td>
133  
-	<td align="center">No</td>
  137
+	<td style="text-align:left;">Easy to copy documents for friends</td>
  138
+	<td style="text-align:center;">Yes</td>
  139
+	<td style="text-align:center;">No</td>
134 140
 </tr>
135 141
 <tr>
136  
-	<td align="left">Fun at parties</td>
137  
-	<td align="center">No</td>
138  
-	<td align="center">Why not?</td>
  142
+	<td style="text-align:left;">Fun at parties</td>
  143
+	<td style="text-align:center;">No</td>
  144
+	<td style="text-align:center;">Why not?</td>
139 145
 </tr>
140 146
 </tbody>
141 147
 
142 148
 <tbody>
143 149
 <tr>
144  
-	<td align="left">Minimum markup1 for maximum quality?</td>
145  
-	<td align="center">Yes</td>
146  
-	<td align="center">No</td>
  150
+	<td style="text-align:left;">Minimum markup1 for maximum quality?</td>
  151
+	<td style="text-align:center;">Yes</td>
  152
+	<td style="text-align:center;">No</td>
147 153
 </tr>
148 154
 </tbody>
149 155
 </table>
@@ -151,46 +157,48 @@
151 157
 
152 158
 <table>
153 159
 <caption id="multimarkdownvs.crayons2">MultiMarkdown vs. Crayons2</caption>
154  
-<col align="left"/>
155  
-<col align="center"/>
156  
-<col align="center"/>
  160
+<colgroup>
  161
+<col style="text-align:left;"/>
  162
+<col style="text-align:center;"/>
  163
+<col style="text-align:center;"/>
  164
+</colgroup>
157 165
 
158 166
 <thead>
159 167
 <tr>
160  
-	<th align="left">Features</th>
161  
-	<th align="center">MultiMarkdown</th>
162  
-	<th align="center">Crayons</th>
  168
+	<th style="text-align:left;">Features</th>
  169
+	<th style="text-align:center;">MultiMarkdown</th>
  170
+	<th style="text-align:center;">Crayons</th>
163 171
 </tr>
164 172
 </thead>
165 173
 
166 174
 <tbody>
167 175
 <tr>
168  
-	<td align="left">Melts in warm places</td>
169  
-	<td align="center">No</td>
170  
-	<td align="center">Yes</td>
  176
+	<td style="text-align:left;">Melts in warm places</td>
  177
+	<td style="text-align:center;">No</td>
  178
+	<td style="text-align:center;">Yes</td>
171 179
 </tr>
172 180
 <tr>
173  
-	<td align="left">Mistakes can be easily fixed</td>
174  
-	<td align="center">Yes</td>
175  
-	<td align="center">No</td>
  181
+	<td style="text-align:left;">Mistakes can be easily fixed</td>
  182
+	<td style="text-align:center;">Yes</td>
  183
+	<td style="text-align:center;">No</td>
176 184
 </tr>
177 185
 <tr>
178  
-	<td align="left">Easy to copy documents for friends</td>
179  
-	<td align="center">Yes</td>
180  
-	<td align="center">No</td>
  186
+	<td style="text-align:left;">Easy to copy documents for friends</td>
  187
+	<td style="text-align:center;">Yes</td>
  188
+	<td style="text-align:center;">No</td>
181 189
 </tr>
182 190
 <tr>
183  
-	<td align="left">Fun at parties</td>
184  
-	<td align="center">No</td>
185  
-	<td align="center">Why not?</td>
  191
+	<td style="text-align:left;">Fun at parties</td>
  192
+	<td style="text-align:center;">No</td>
  193
+	<td style="text-align:center;">Why not?</td>
186 194
 </tr>
187 195
 </tbody>
188 196
 
189 197
 <tbody>
190 198
 <tr>
191  
-	<td align="left">Minimum markup2 for maximum quality?</td>
192  
-	<td align="center">Yes</td>
193  
-	<td align="center">No</td>
  199
+	<td style="text-align:left;">Minimum markup2 for maximum quality?</td>
  200
+	<td style="text-align:center;">Yes</td>
  201
+	<td style="text-align:center;">No</td>
194 202
 </tr>
195 203
 </tbody>
196 204
 </table>
@@ -198,20 +206,22 @@
198 206
 
199 207
 <table>
200 208
 <caption id="captiononly">Caption only</caption>
201  
-<col align="left"/>
202  
-<col align="left"/>
  209
+<colgroup>
  210
+<col style="text-align:left;"/>
  211
+<col style="text-align:left;"/>
  212
+</colgroup>
203 213
 
204 214
 <thead>
205 215
 <tr>
206  
-	<th align="left">Col 1</th>
207  
-	<th align="left">Col 2</th>
  216
+	<th style="text-align:left;">Col 1</th>
  217
+	<th style="text-align:left;">Col 2</th>
208 218
 </tr>
209 219
 </thead>
210 220
 
211 221
 <tbody>
212 222
 <tr>
213  
-	<td align="left">One</td>
214  
-	<td align="left">Two </td>
  223
+	<td style="text-align:left;">One</td>
  224
+	<td style="text-align:left;">Two </td>
215 225
 </tr>
216 226
 </tbody>
217 227
 </table>
5  Tests/Compatibility.html
... ...
@@ -0,0 +1,5 @@
  1
+<p>Inline image --- <img src="http://example.net/image.png" alt="image" title="Image Caption" />.</p>
  2
+
  3
+<p>Figure:</p>
  4
+
  5
+<p><img src="http://example.net/image.png" alt="image" title="Image Caption" /></p>
9  Tests/Compatibility.text
... ...
@@ -0,0 +1,9 @@
  1
+
  2
+Inline image --- ![image].
  3
+
  4
+
  5
+Figure:
  6
+
  7
+![image]
  8
+
  9
+[image]: http://example.net/image.png "Image Caption"

0 notes on commit e00dc0e

Please sign in to comment.
Something went wrong with that request. Please try again.