Browse Source

Merge branch 'master' into feature/reverse_convert

Estevao Soares dos Santos 7 years ago
parent
commit
5bb009702b

+ 1 - 13
.travis.yml

@@ -1,7 +1,5 @@
 language: node_js
 node_js:
-  - "0.10"
-  - "0.12"
   - "4"
   - "6"
   - "7"
@@ -17,17 +15,7 @@ cache:
     - node_modules
 
 # scripts
-script:
-  - >
-    if [ "$TRAVIS_NODE_VERSION" == "0.10" -o "$TRAVIS_NODE_VERSION" == "0.12" ]; then
-    printf
-    "\n\n----------------------------------------\n
-    \e[35m----- Running tests in LEGACY mode -----\e[0m\n
-    ----------------------------------------\n\n\n"
-    && grunt test-old; else
-    echo "Running normal tests"
-    && grunt test;
-    fi
+script: grunt test
 
 # hooks
 notifications:

+ 12 - 0
CHANGELOG.md

@@ -1,3 +1,15 @@
+<a name="1.8.3"></a>
+## [1.8.3](https://github.com/showdownjs/showdown/compare/1.8.2...1.8.3) (2017-11-28)
+
+
+### Bug Fixes
+
+* **literalMidWordAsterisks:** no longer treats colon as alphanumeric char ([21194c8](https://github.com/showdownjs/showdown/commit/21194c8)), closes [#461](https://github.com/showdownjs/showdown/issues/461)
+* **spanGamut:** code spans are hashed after parsing ([f4f63c5](https://github.com/showdownjs/showdown/commit/f4f63c5)), closes [#464](https://github.com/showdownjs/showdown/issues/464)
+* **tables:** pipe character in code spans no longer breaks table ([0c933a0](https://github.com/showdownjs/showdown/commit/0c933a0)), closes [#465](https://github.com/showdownjs/showdown/issues/465)
+
+
+
 <a name="1.8.2"></a>
 ## [1.8.2](https://github.com/showdownjs/showdown/compare/1.8.1...1.8.2) (2017-11-11)
 

+ 1 - 1
dist/showdown.js

@@ -1,4 +1,4 @@
-;/*! showdown v 1.8.2 - 27-11-2017 */
+;/*! showdown v 1.8.3 - 28-11-2017 */
 (function(){
 /**
  * Created by Tivie on 13-07-2015.

File diff suppressed because it is too large
+ 1 - 1
dist/showdown.min.js


+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "showdown",
-  "version": "1.8.2",
+  "version": "1.8.3",
   "description": "A Markdown to HTML converter written in Javascript",
   "author": "Estevão Santos",
   "homepage": "http://showdownjs.github.io/showdown/",

File diff suppressed because it is too large
+ 0 - 0
performance.json


+ 41 - 0
performance.log.md

@@ -1,6 +1,47 @@
 # Performance Tests for showdown
 
 
+## [version 1.8.3](https://github.com/showdownjs/showdown/tree/1.8.3)
+
+### Test Suite: Basic (50 cycles)
+| test | avgTime | max | min |
+|:-----|--------:|----:|----:|
+|Simple "Hello World"|0.927|32.654|0.147|
+|performance.testfile.md|32.485|62.282|28.403|
+
+### Test Suite: subParsers (20 cycles)
+| test | avgTime | max | min |
+|:-----|--------:|----:|----:|
+|hashHTMLBlocks|5.454|18.356|2.385|
+|anchors|0.504|3.110|0.290|
+|autoLinks|0.114|0.284|0.069|
+|blockQuotes|2.269|3.374|1.997|
+|codeBlocks|0.250|0.840|0.192|
+|codeSpans|0.352|1.231|0.249|
+|detab|0.115|0.179|0.087|
+|encodeAmpsAndAngles|0.105|0.162|0.095|
+|encodeBackslashEscapes|0.108|0.235|0.075|
+|encodeCode|0.994|1.915|0.847|
+|escapeSpecialCharsWithinTagAttributes|0.237|0.475|0.160|
+|githubCodeBlocks|0.202|0.771|0.151|
+|hashBlock|0.071|0.493|0.039|
+|hashElement|0.002|0.036|0.001|
+|hashHTMLSpans|4.162|4.708|3.959|
+|hashPreCodeTags|0.130|0.331|0.112|
+|headers|1.409|4.622|1.044|
+|horizontalRule|0.351|2.655|0.196|
+|images|0.199|0.545|0.131|
+|italicsAndBold|0.269|0.357|0.235|
+|lists|3.057|4.403|2.686|
+|outdent|0.153|0.307|0.136|
+|paragraphs|6.455|7.901|5.708|
+|spanGamut|4.256|5.542|3.930|
+|strikethrough|0.005|0.089|0.000|
+|stripLinkDefinitions|0.248|0.394|0.225|
+|tables|0.002|0.028|0.001|
+|unescapeSpecialChars|0.009|0.039|0.007|
+
+
 ## [version 1.8.2](https://github.com/showdownjs/showdown/tree/1.8.2)
 
 ### Test Suite: Basic (50 cycles)

+ 5 - 0
test/issues/#467.header-ids-for-subheadings.html

@@ -0,0 +1,5 @@
+<h2 id="headeridinh2">header id in h2</h2>
+<h3 id="headeridinh3">header id in h3</h3>
+<h4 id="headeridinh4">header id in h4</h4>
+<h5 id="headeridinh5">header id in h5</h5>
+<h6 id="headeridinh6">header id in h6</h6>

+ 9 - 0
test/issues/#467.header-ids-for-subheadings.md

@@ -0,0 +1,9 @@
+## header id in h2
+
+### header id in h3
+
+#### header id in h4
+
+##### header id in h5
+
+###### header id in h6

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