diff options
author | Gulliver <gulliver@fargonauten.de> | 2014-10-09 00:45:00 +0200 |
---|---|---|
committer | Gulliver <gulliver@fargonauten.de> | 2014-10-09 00:45:00 +0200 |
commit | 7da937e2aea109e42b5ce9d6c9fe2e4e9ec877fc (patch) | |
tree | 975a69c0533623790733074a42fb3a9bb7577bd9 /oldtests/Emphasis | |
parent | 1703abe7a21f5014ce00f04bd95d2aa4e1ba81c0 (diff) | |
parent | c69bfce61eeec398be46eb914f6280fe471b293f (diff) |
Merge branch 'master' into cmake-build
* master: (75 commits)
Remove duplicate `footer`
Correct capitalization of JavaScript
Added link to commonmark.org on web page.
Added cases from #51 to spec.
Added test case from issue #147.
Removed uthash license. We no longer use this library.
Removed bstrlib license. We no longer use this library.
Removed oldtests.
Cleaned up entity section of spec.
Adjusted tests for new js parser.
stmd.js: Fixed entityToChar, adding fromCodePoint polyfill.
Reset label_nest_level before parsing reference.
Removed spurious 'and', reflowed.
Removed spurious 'and', reflowed.
Further emph fallback optimizations.
Some jshint fixes.
Use simpler algorithm.
Revert "Use integers instead of strings for tags."
Revert "Use numerical constants."
Use numerical constants.
...
Diffstat (limited to 'oldtests/Emphasis')
-rw-r--r-- | oldtests/Emphasis/Escapes.html | 1 | ||||
-rw-r--r-- | oldtests/Emphasis/Escapes.markdown | 1 | ||||
-rw-r--r-- | oldtests/Emphasis/NestedEmphAndStrong.html | 66 | ||||
-rw-r--r-- | oldtests/Emphasis/NestedEmphAndStrong.markdown | 69 | ||||
-rw-r--r-- | oldtests/Emphasis/Pathological.html | 24 | ||||
-rw-r--r-- | oldtests/Emphasis/Pathological.markdown | 26 | ||||
-rw-r--r-- | oldtests/Emphasis/Punctuation.html | 10 | ||||
-rw-r--r-- | oldtests/Emphasis/Punctuation.markdown | 19 |
8 files changed, 0 insertions, 216 deletions
diff --git a/oldtests/Emphasis/Escapes.html b/oldtests/Emphasis/Escapes.html deleted file mode 100644 index 17c9e2d..0000000 --- a/oldtests/Emphasis/Escapes.html +++ /dev/null @@ -1 +0,0 @@ -<p><em>hi* there</em></p> diff --git a/oldtests/Emphasis/Escapes.markdown b/oldtests/Emphasis/Escapes.markdown deleted file mode 100644 index 4f14698..0000000 --- a/oldtests/Emphasis/Escapes.markdown +++ /dev/null @@ -1 +0,0 @@ -*hi\* there*
\ No newline at end of file diff --git a/oldtests/Emphasis/NestedEmphAndStrong.html b/oldtests/Emphasis/NestedEmphAndStrong.html deleted file mode 100644 index b41b527..0000000 --- a/oldtests/Emphasis/NestedEmphAndStrong.html +++ /dev/null @@ -1,66 +0,0 @@ -<ol> -<li><strong><em>test test</em></strong></li> -<li><strong><em>test test</em></strong></li> -<li><em>test <strong>test</strong></em></li> -<li><strong>test <em>test</em></strong></li> -<li><strong><em>test</em> test</strong></li> -<li><em><strong>test</strong> test</em></li> -<li><strong><em>test</em> test</strong></li> -<li><strong>test <em>test</em></strong></li> -<li><em>test <strong>test</strong></em></li> -<li><em>test <strong>test</strong></em></li> -<li><strong>test <em>test</em></strong></li> -<li><strong><em>test</em> test</strong></li> -<li><em><strong>test</strong> test</em></li> -<li><strong><em>test</em> test</strong></li> -<li><strong>test <em>test</em></strong></li> -<li><em>test <strong>test</strong></em></li> -</ol> -<p>Incorrect nesting:</p> -<ol> -<li>*test <strong>test* test</strong></li> -<li>_test <strong>test_ test</strong></li> -<li>**test <em>test</em>* test*</li> -<li>__test␣<em>test</em>_␣test_</li> -<li><em>test <em>test</em> test</em></li> -<li><em>test <em>test</em> test</em></li> -<li><strong>test <strong>test</strong> test</strong></li> -<li><strong>test <strong>test</strong> test</strong></li> -</ol> -<p>No emphasis:</p> -<ol> -<li>test* test *test</li> -<li>test** test **test</li> -<li>test_ test _test</li> -<li>test__ test __test</li> -</ol> -<p>Middle-word emphasis (asterisks):</p> -<ol> -<li><em>a</em>b</li> -<li>a<em>b</em></li> -<li>a<em>b</em>c</li> -<li><strong>a</strong>b</li> -<li>a<strong>b</strong></li> -<li>a<strong>b</strong>c</li> -</ol> -<p>Middle-word emphasis (underscore):</p> -<ol> -<li>_a_b</li> -<li>a_b_</li> -<li>a_b_c</li> -<li>__a__b</li> -<li>a__b__</li> -<li>a__b__c</li> -<li>my_precious_file.txt</li> -</ol> -<p>Tricky Cases:</p> -<ol> -<li>E**. <strong>Test</strong> TestTestTest</li> -<li>E**. <strong>Test</strong> Test Test Test</li> -</ol> -<p>Overlong emphasis:</p> -<p>Name: ____________<br /> -Organization: ____<br /> -Region/Country: __</p> -<p>_____Cut here_____</p> -<p>____Cut here____</p> diff --git a/oldtests/Emphasis/NestedEmphAndStrong.markdown b/oldtests/Emphasis/NestedEmphAndStrong.markdown deleted file mode 100644 index ec7da25..0000000 --- a/oldtests/Emphasis/NestedEmphAndStrong.markdown +++ /dev/null @@ -1,69 +0,0 @@ -1. ***test test*** -2. ___test test___ -3. *test **test*** -4. **test *test*** -5. ***test* test** -6. ***test** test* -7. ***test* test** -8. **test *test*** -9. *test **test*** -10. _test __test___ -11. __test _test___ -12. ___test_ test__ -13. ___test__ test_ -14. ___test_ test__ -15. __test _test___ -16. _test __test___ - -Incorrect nesting: - -1. *test **test* test** -2. _test __test_ test__ -3. **test *test** test* -4. __test _test__ test_ -5. *test *test* test* -6. _test _test_ test_ -7. **test **test** test** -8. __test __test__ test__ - -No emphasis: - -1. test* test *test -2. test** test **test -3. test_ test _test -4. test__ test __test - -Middle-word emphasis (asterisks): - -1. *a*b -2. a*b* -3. a*b*c -4. **a**b -5. a**b** -6. a**b**c - -Middle-word emphasis (underscore): - -1. _a_b -2. a_b_ -3. a_b_c -4. __a__b -5. a__b__ -6. a__b__c -7. my_precious_file.txt - -Tricky Cases: - -1. E**. **Test** TestTestTest -2. E**. **Test** Test Test Test - -Overlong emphasis: - -Name: ____________ -Organization: ____ -Region/Country: __ - -_____Cut here_____ - -____Cut here____ - diff --git a/oldtests/Emphasis/Pathological.html b/oldtests/Emphasis/Pathological.html deleted file mode 100644 index 37eb9fa..0000000 --- a/oldtests/Emphasis/Pathological.html +++ /dev/null @@ -1,24 +0,0 @@ -<p>This input can take a long time to parse in some implementations.</p> -<p>*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -aaaaa</p> -<p><em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a**</p> diff --git a/oldtests/Emphasis/Pathological.markdown b/oldtests/Emphasis/Pathological.markdown deleted file mode 100644 index 5deb95e..0000000 --- a/oldtests/Emphasis/Pathological.markdown +++ /dev/null @@ -1,26 +0,0 @@ -This input can take a long time to parse in some implementations. - -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -*a -aaaaa - -*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a** diff --git a/oldtests/Emphasis/Punctuation.html b/oldtests/Emphasis/Punctuation.html deleted file mode 100644 index 6061b81..0000000 --- a/oldtests/Emphasis/Punctuation.html +++ /dev/null @@ -1,10 +0,0 @@ -<p>Here is a _ that is <em>cool</em>.</p> -<p><em>Foo.</em></p> -<p><strong>Foo.</strong></p> -<p><strong><em>Foo.</em></strong></p> -<p><em>Foo</em>.</p> -<p><strong>Foo</strong>.</p> -<p><strong><em>Foo</em></strong>.</p> -<p><em>Foo</em>. <em>Foo</em>? <em>Foo</em>! <em>Foo</em>: <em>Foo</em>; (<em>Foo</em>)</p> -<p><strong>Foo</strong>. <strong>Foo</strong>? <strong>Foo</strong>! <strong>Foo</strong>: <strong>Foo</strong>; (<strong>Foo</strong>)</p> -<p><strong><em>Foo</em></strong>. <strong><em>Foo</em></strong>? <strong><em>Foo</em></strong>! <strong><em>Foo</em></strong>: <strong><em>Foo</em></strong>; (<strong><em>Foo</em></strong>)</p> diff --git a/oldtests/Emphasis/Punctuation.markdown b/oldtests/Emphasis/Punctuation.markdown deleted file mode 100644 index e3f23b8..0000000 --- a/oldtests/Emphasis/Punctuation.markdown +++ /dev/null @@ -1,19 +0,0 @@ -Here is a _ that is _cool_. - -_Foo._ - -__Foo.__ - -___Foo.___ - -_Foo_. - -__Foo__. - -___Foo___. - -_Foo_. _Foo_? _Foo_! _Foo_: _Foo_; (_Foo_) - -__Foo__. __Foo__? __Foo__! __Foo__: __Foo__; (__Foo__) - -___Foo___. ___Foo___? ___Foo___! ___Foo___: ___Foo___; (___Foo___) |