ソースを参照

release 1.2.1

Estevão Soares dos Santos 10 年 前
コミット
086c41de54
6 ファイル変更43 行追加3 行削除
  1. 39 0
      CHANGELOG.md
  2. 2 1
      dist/showdown.js
  3. 0 0
      dist/showdown.js.map
  4. 1 1
      dist/showdown.min.js
  5. 0 0
      dist/showdown.min.js.map
  6. 1 1
      package.json

+ 39 - 0
CHANGELOG.md

@@ -1,3 +1,42 @@
+<a name"1.2.1"></a>
+### 1.2.1 (2015-07-22)
+
+
+#### Features
+
+* **smoothLivePreview:** fix weird effects due to parsing incomplete input ([62ba3733](http://github.com/showdownjs/showdown/commit/62ba3733))
+* **subParsers/githubCodeBlock:** add extra language class to conform to html5 spec ([b7f5e32](http://github.com/showdownjs/showdown/commit/b7f5e32))
+
+
+#### Bug Fixes
+
+* **tables:** 
+
+  * fix undefined error in malformed tables ([6176977](http://github.com/showdownjs/showdown/commit/6176977))
+      
+      Cannot read property 'trim' of undefined happens when the parser is fed a malformed table.
+      This happens in live previews (for instance, when using Angularjs).
+  
+  * add support for md span elements in table headers ([789dc18](http://github.com/showdownjs/showdown/commit/789dc18))
+  
+      Closes #179
+    
+* **italicsAndBold:** 
+
+    * fix broken em/strong tags when used with literalMidWordUnderscores ([7ee2017](http://github.com/showdownjs/showdown/commit/7ee2017))
+    
+       When literalMidWordUnderscoresis set to true, em and strong tags that start or end a paragraph don't get parsed as such.
+       This fixes this issue.
+    
+       Closes #174
+    
+    * fix underscores not being correctly parsed when used in conjunction with literalMidWordsUnderscores option ([c9e85f1](http://github.com/showdownjs/showdown/commit/c9e85f1))
+    
+* **codeSpans:** Fix issue with code html tags not being correctly escaped ([5f043ca](http://github.com/showdownjs/showdown/commit/5f043ca))
+
+* **images:** fix alt attribute not being escaped correctly ([542194e](http://github.com/showdownjs/showdown/commit/542194e))
+
+
 <a name"1.2.0"></a>
 ## 1.2.0 (2015-07-13)
 

+ 2 - 1
dist/showdown.js

@@ -1,4 +1,4 @@
-;/*! showdown 14-07-2015 */
+;/*! showdown 22-07-2015 */
 (function(){
 /**
  * Created by Tivie on 13-07-2015.
@@ -2145,6 +2145,7 @@ showdown.subParser('tables', function (text, options, globals) {
       if (options.tableHeaderId) {
         id = ' id="' + header.replace(/ /g, '_').toLowerCase() + '"';
       }
+      header = showdown.subParser('spanGamut')(header, options, globals);
       if (!style || style.trim() === '') {
         style = '';
       } else {

ファイルの差分が大きいため隠しています
+ 0 - 0
dist/showdown.js.map


ファイルの差分が大きいため隠しています
+ 1 - 1
dist/showdown.min.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/showdown.min.js.map


+ 1 - 1
package.json

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

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません