Browse Source

release v1.7.3

Estevao Soares dos Santos 8 năm trước cách đây
mục cha
commit
dedf130806
8 tập tin đã thay đổi với 63 bổ sung6 xóa
  1. 17 0
      CHANGELOG.md
  2. 2 2
      Gruntfile.js
  3. 1 1
      dist/showdown.js
  4. 1 2
      dist/showdown.min.js
  5. 0 0
      dist/showdown.min.js.map
  6. 1 1
      package.json
  7. 0 0
      performance.json
  8. 41 0
      performance.log.md

+ 17 - 0
CHANGELOG.md

@@ -1,3 +1,20 @@
+<a name="1.7.3"></a>
+## [1.7.3](https://github.com/showdownjs/showdown/compare/1.7.2...1.7.3) (2017-08-23)
+
+
+### Bug Fixes
+
+* **github flavor:** add backslashEscapesHTMLTags to GFM flavor ([5284439](https://github.com/showdownjs/showdown/commit/5284439))
+* **literalMidWordAsterisks:** fix option no longer treat punctuation as word character ([8f05be7](https://github.com/showdownjs/showdown/commit/8f05be7)), closes [#398](https://github.com/showdownjs/showdown/issues/398)
+
+
+### Features
+
+* **rawHeaderId:** Remove only spaces, ' and " from generated header ids ([1791cf0](https://github.com/showdownjs/showdown/commit/1791cf0)), closes [#409](https://github.com/showdownjs/showdown/issues/409)
+* **rawPrefixHeaderId:** add option to prevent showdown from modifying the prefix ([ff26c08](https://github.com/showdownjs/showdown/commit/ff26c08)), closes [#409](https://github.com/showdownjs/showdown/issues/409)
+
+
+
 <a name="1.7.2"></a>
 ## [1.7.2](https://github.com/showdownjs/showdown/compare/1.7.1...1.7.2) (2017-08-05)
 

+ 2 - 2
Gruntfile.js

@@ -15,7 +15,7 @@ module.exports = function (grunt) {
     concat: {
       options: {
         sourceMap: true,
-        banner: ';/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n(function(){\n',
+        banner: ';/*! <%= pkg.name %> v <%= pkg.version %> - <%= grunt.template.today("dd-mm-yyyy") %> */\n(function(){\n',
         footer: '}).call(this);\n'
       },
       dist: {
@@ -43,7 +43,7 @@ module.exports = function (grunt) {
     uglify: {
       options: {
         sourceMap: true,
-        banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
+        banner: '/*! <%= pkg.name %> v <%= pkg.version %> - <%= grunt.template.today("dd-mm-yyyy") %> */'
       },
       dist: {
         files: {

+ 1 - 1
dist/showdown.js

@@ -1,4 +1,4 @@
-;/*! showdown 23-08-2017 */
+;/*! showdown v 1.7.3 - 23-08-2017 */
 (function(){
 /**
  * Created by Tivie on 13-07-2015.

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 2
dist/showdown.min.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/showdown.min.js.map


+ 1 - 1
package.json

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

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
performance.json


+ 41 - 0
performance.log.md

@@ -1,6 +1,47 @@
 # Performance Tests for showdown
 
 
+## [version 1.7.3](https://github.com/showdownjs/showdown/tree/1.7.3)
+
+### Test Suite: Basic (50 cycles)
+| test | avgTime | max | min |
+|:-----|--------:|----:|----:|
+|Simple "Hello World"|0.277|5.743|0.088|
+|performance.testfile.md|30.733|54.768|26.972|
+
+### Test Suite: subParsers (20 cycles)
+| test | avgTime | max | min |
+|:-----|--------:|----:|----:|
+|hashHTMLBlocks|4.316|8.271|2.339|
+|anchors|0.525|3.812|0.288|
+|autoLinks|0.085|0.220|0.063|
+|blockQuotes|2.033|3.622|1.745|
+|codeBlocks|0.251|1.060|0.178|
+|codeSpans|0.246|0.749|0.157|
+|detab|0.142|0.752|0.087|
+|encodeAmpsAndAngles|0.100|0.129|0.095|
+|encodeBackslashEscapes|0.079|0.125|0.070|
+|encodeCode|0.977|1.774|0.852|
+|escapeSpecialCharsWithinTagAttributes|0.271|0.441|0.244|
+|githubCodeBlocks|0.235|0.985|0.139|
+|hashBlock|0.068|0.550|0.036|
+|hashElement|0.002|0.030|0.000|
+|hashHTMLSpans|4.197|4.564|4.006|
+|hashPreCodeTags|0.139|0.543|0.106|
+|headers|1.148|4.214|0.880|
+|horizontalRule|0.214|0.273|0.199|
+|images|0.310|3.095|0.120|
+|italicsAndBold|0.279|0.378|0.235|
+|lists|3.843|8.278|2.630|
+|outdent|0.193|0.386|0.144|
+|paragraphs|5.541|8.153|4.836|
+|spanGamut|4.638|5.775|4.142|
+|strikethrough|0.003|0.052|0.000|
+|stripLinkDefinitions|0.167|0.275|0.142|
+|tables|0.002|0.036|0.000|
+|unescapeSpecialChars|0.009|0.032|0.008|
+
+
 ## [version 1.7.2](https://github.com/showdownjs/showdown/tree/1.7.2)
 
 ### Test Suite: Basic (50 cycles)

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác